mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-29 20:56:31 +00:00
Add 'torrent_finished' signal
This commit is contained in:
parent
69e24fe673
commit
4026ac0bf2
@ -607,6 +607,7 @@ class TorrentManager(component.Component):
|
||||
torrent.is_finished = True
|
||||
torrent.update_state()
|
||||
torrent.write_fastresume()
|
||||
component.get("SignalManager").emit("torrent_finished", torrent_id)
|
||||
|
||||
def on_alert_torrent_paused(self, alert):
|
||||
log.debug("on_alert_torrent_paused")
|
||||
|
Loading…
x
Reference in New Issue
Block a user