mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Add 'torrent_finished' signal
This commit is contained in:
parent
69e24fe673
commit
4026ac0bf2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue