Fix #1246: Losing Labels upon restart

This commit is contained in:
Calum Lind 2011-06-27 21:50:39 +01:00
parent 3b5e70580e
commit 981ad6d7d2

View File

@ -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]