commit
6e5f060257
|
@ -141,7 +141,7 @@ def connect():
|
|||
def main():
|
||||
global ws
|
||||
global loop
|
||||
lock = PIDLock( "voice" )
|
||||
lock = PIDLock("voice")
|
||||
ws = WebsocketClient()
|
||||
tts.init(ws)
|
||||
ConfigurationManager.init(ws)
|
||||
|
|
|
@ -33,7 +33,7 @@ settings = {
|
|||
|
||||
def main():
|
||||
import tornado.options
|
||||
lock = Lock( "service" )
|
||||
lock = Lock("service")
|
||||
tornado.options.parse_command_line()
|
||||
config = ConfigurationManager.get().get("websocket")
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ def watch_skills():
|
|||
|
||||
def main():
|
||||
global ws
|
||||
lock = Lock( 'skills' ) # prevent multiply instances of this service
|
||||
lock = Lock('skills') # prevent multiply instances of this service
|
||||
ws = WebsocketClient()
|
||||
ConfigurationManager.init(ws)
|
||||
|
||||
|
|
Loading…
Reference in New Issue