From b680d84cba9dc1bc998fceb61b5aab0af1c5fe66 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 17 Dec 2012 12:00:42 +0100 Subject: [PATCH] Don't use handler when in desktop build --- couchpotato/core/_base/_core/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/_base/_core/main.py b/couchpotato/core/_base/_core/main.py index 9c400d1..c5ce39a 100644 --- a/couchpotato/core/_base/_core/main.py +++ b/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 ''