Don't remove pyc files when using desktop updater

This commit is contained in:
Ruud
2014-06-29 23:15:36 +02:00
parent 4cbc089de2
commit f6030a333a

View File

@@ -143,7 +143,7 @@ class Updater(Plugin):
}
def doShutdown(self, *args, **kwargs):
if not Env.get('dev'):
if not Env.get('dev') and not Env.get('desktop'):
removePyc(Env.get('app_dir'), show_logs = False)
return super(Updater, self).doShutdown(*args, **kwargs)