diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index aa30823f8..f9f80ca7a 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -339,6 +339,10 @@ class Torrent(object): LTSTATE = deluge.common.LT_TORRENT_STATE ltstate = int(self.handle.status().state) + # Set self.state to the ltstate right away just incase we don't hit some + # of the logic below + self.state = str(ltstate) + log.debug("set_state_based_on_ltstate: %s", deluge.common.LT_TORRENT_STATE[ltstate]) log.debug("session.is_paused: %s", component.get("Core").session.is_paused())