Fix #1246: Losing Labels upon restart
This commit is contained in:
parent
3b5e70580e
commit
981ad6d7d2
@ -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…
x
Reference in New Issue
Block a user