Browse Source

Don't use handler when in desktop build

pull/1141/merge
Ruud 13 years ago
parent
commit
b680d84cba
  1. 3
      couchpotato/core/_base/_core/main.py

3
couchpotato/core/_base/_core/main.py

@ -53,7 +53,8 @@ class Core(Plugin):
addEvent('setting.save.core.api_key', self.checkApikey)
# Make sure we can close-down with ctrl+c properly
self.signalHandler()
if not Env.get('desktop'):
self.signalHandler()
def md5Password(self, value):
return md5(value.encode(Env.get('encoding'))) if value else ''

Loading…
Cancel
Save