mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +00:00
Fix #1246: Losing Labels upon restart
This commit is contained in:
parent
3b5e70580e
commit
981ad6d7d2
@ -134,6 +134,8 @@ class Core(CorePluginBase):
|
||||
|
||||
## Plugin hooks ##
|
||||
def post_torrent_add(self, torrent_id, from_state):
|
||||
if from_state:
|
||||
return
|
||||
log.debug("post_torrent_add")
|
||||
torrent = self.torrents[torrent_id]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user