mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
Fix #1246: Losing Labels upon restart
This commit is contained in:
parent
3b5e70580e
commit
981ad6d7d2
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue