From 121d638d03e581fe298801b64eb808cc08235ef8 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Tue, 2 Dec 2008 04:48:57 +0000 Subject: [PATCH] Fix shutting deluged down when using Python 2.6 --- deluge/core/core.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deluge/core/core.py b/deluge/core/core.py index 1df64ba62..5244cc865 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -230,6 +230,9 @@ class Core( except Exception, e: log.debug("handle_thread: %s", e) + def shutdown(self): + pass + def _shutdown(self, *data): """This is called by a thread from shutdown()""" log.info("Shutting down core..") @@ -759,6 +762,6 @@ class Core( self.signals.emit("torrent_queue_changed") except KeyError: log.warning("torrent_id: %s does not exist in the queue", torrent_id) - + def export_glob(self, path): return glob.glob(path)