summarylogtreecommitdiffstats
path: root/fix-signal-handling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-signal-handling.patch')
-rw-r--r--fix-signal-handling.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/fix-signal-handling.patch b/fix-signal-handling.patch
index cc219ae8967..3520787099a 100644
--- a/fix-signal-handling.patch
+++ b/fix-signal-handling.patch
@@ -1,14 +1,14 @@
---- a/sickgear/sickbeard/__init__.py
-+++ b/sickgear/sickbeard/__init__.py
+--- a/sickbeard/__init__.py
++++ b/sickbeard/__init__.py
@@ -1339,9 +1339,8 @@
-
-
+
+
def sig_handler(signum=None, frame=None):
- if isinstance(signum, type(None)):
- logger.log(u'Signal %i caught, saving and exiting...' % int(signum))
- events.put(events.SystemEvent.SHUTDOWN)
+ logger.log(u'Signal %i caught, saving and exiting...' % int(signum))
+ events.put(events.SystemEvent.SHUTDOWN)
-
-
+
+
def save_all():