Better shutdown and restart

This commit is contained in:
Ruud
2012-01-14 20:55:23 +01:00
parent 9b6c06ceb2
commit 199c17e2c1
3 changed files with 5 additions and 8 deletions
+1 -1
View File
@@ -59,5 +59,5 @@ if __name__ == '__main__':
from couchpotato.core.event import fireEvent
fireEvent('app.crappy_shutdown', single = True)
time.sleep(1)
time.sleep(0.1)
sys.exit()