Rework restart methods

This commit is contained in:
Ruud committed 2014-06-23 01:09:32 +02:00
1 parent 1c5f19a68a
commit 94064ac7da
7 files changed
+31 -19

No files matched your search

+2 -2
View File
@@ -142,11 +142,11 @@ class Updater(Plugin):
'success': success
}
def doShutdown(self):
def doShutdown(self, *args, **kwargs):
if not Env.get('dev'):
removePyc(Env.get('app_dir'), show_logs = False)
return super(Updater, self).doShutdown()
return super(Updater, self).doShutdown(*args, **kwargs)
class BaseUpdater(Plugin):