diff --git a/mycroft/client/speech/main.py b/mycroft/client/speech/main.py index c2f99e814e..32d1a3b869 100644 --- a/mycroft/client/speech/main.py +++ b/mycroft/client/speech/main.py @@ -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) diff --git a/mycroft/messagebus/service/main.py b/mycroft/messagebus/service/main.py index f5865b361d..77eafade79 100644 --- a/mycroft/messagebus/service/main.py +++ b/mycroft/messagebus/service/main.py @@ -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") diff --git a/mycroft/skills/main.py b/mycroft/skills/main.py index 8b7950e8e4..1ed962e00a 100644 --- a/mycroft/skills/main.py +++ b/mycroft/skills/main.py @@ -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)