Browse Source

Don't remove pyc files when using desktop updater

tags/build/2.5.1
Ruud 11 years ago
parent
commit
f16931906f
  1. 2
      couchpotato/core/_base/updater/main.py

2
couchpotato/core/_base/updater/main.py

@ -143,7 +143,7 @@ class Updater(Plugin):
} }
def doShutdown(self, *args, **kwargs): 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) removePyc(Env.get('app_dir'), show_logs = False)
return super(Updater, self).doShutdown(*args, **kwargs) return super(Updater, self).doShutdown(*args, **kwargs)

Loading…
Cancel
Save