mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
[Core] Ensure valid torrent state value after init
This commit is contained in:
parent
f36ecc470b
commit
ac9e11d732
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ class Torrent(object):
|
|||
self.update_status(self.handle.status())
|
||||
self._create_status_funcs()
|
||||
self.set_options(self.options)
|
||||
self.update_state()
|
||||
|
||||
if log.isEnabledFor(logging.DEBUG):
|
||||
log.debug("Torrent object created.")
|
||||
|
|
Loading…
Add table
Reference in a new issue