From ef407bcb3c5ade146fbc8e797bab74c8755866af Mon Sep 17 00:00:00 2001 From: Ruud Date: Wed, 11 Jun 2014 09:53:52 +0200 Subject: [PATCH] Don't clear pyc when develop --- couchpotato/core/_base/updater/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/_base/updater/main.py b/couchpotato/core/_base/updater/main.py index 8164dc59..5a47fc06 100644 --- a/couchpotato/core/_base/updater/main.py +++ b/couchpotato/core/_base/updater/main.py @@ -142,7 +142,9 @@ class Updater(Plugin): } def doShutdown(self): - self.updater.deletePyc(show_logs = False) + if not Env.get('dev'): + self.updater.deletePyc(show_logs = False) + return super(Updater, self).doShutdown()