mirror of
https://git.deluge-torrent.org/deluge
synced 2025-10-01 22:48:35 +00:00
Fix shutting deluged down when using Python 2.6
This commit is contained in:
parent
aebc019d12
commit
121d638d03
1 changed files with 4 additions and 1 deletions
|
@ -230,6 +230,9 @@ class Core(
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
log.debug("handle_thread: %s", e)
|
log.debug("handle_thread: %s", e)
|
||||||
|
|
||||||
|
def shutdown(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def _shutdown(self, *data):
|
def _shutdown(self, *data):
|
||||||
"""This is called by a thread from shutdown()"""
|
"""This is called by a thread from shutdown()"""
|
||||||
log.info("Shutting down core..")
|
log.info("Shutting down core..")
|
||||||
|
@ -759,6 +762,6 @@ class Core(
|
||||||
self.signals.emit("torrent_queue_changed")
|
self.signals.emit("torrent_queue_changed")
|
||||||
except KeyError:
|
except KeyError:
|
||||||
log.warning("torrent_id: %s does not exist in the queue", torrent_id)
|
log.warning("torrent_id: %s does not exist in the queue", torrent_id)
|
||||||
|
|
||||||
def export_glob(self, path):
|
def export_glob(self, path):
|
||||||
return glob.glob(path)
|
return glob.glob(path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue