mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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 ##
|
## Plugin hooks ##
|
||||||
def post_torrent_add(self, torrent_id, from_state):
|
def post_torrent_add(self, torrent_id, from_state):
|
||||||
|
if from_state:
|
||||||
|
return
|
||||||
log.debug("post_torrent_add")
|
log.debug("post_torrent_add")
|
||||||
torrent = self.torrents[torrent_id]
|
torrent = self.torrents[torrent_id]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue