]> kaliko git repositories - mpd-sima.git/blobdiff - launch
Get through main loop in case of player reconnection
[mpd-sima.git] / launch
diff --git a/launch b/launch
index 3e88542efee5b6e7d4049479c5940e7800816129..39fac649ba25ebdba7e8fc3e5b1a311ffd39a941 100755 (executable)
--- a/launch
+++ b/launch
@@ -3,7 +3,7 @@
 """Sima
 """
 
-# standart library import
+# standard library import
 import logging
 import sys
 
@@ -86,7 +86,7 @@ def main():
     logger.info('Starting...')
     sima = core.Sima(config)
 
-    # core plugins
+    # required core plugins
     sima.register_plugin(History)
     sima.register_plugin(MpdOptions)
 
@@ -104,7 +104,7 @@ def main():
         sima.foreground()
     except KeyboardInterrupt:
         logger.info('Caught KeyboardInterrupt, stopping')
-        #sima.shutdown()
+        sys.exit(0)
 
 
 def run():