Fix issue restoring torrent state
This commit is contained in:
parent
205444f670
commit
b9338a639e
|
@ -68,7 +68,7 @@ class TorrentState:
|
|||
name=None
|
||||
):
|
||||
# Build the class atrribute list from args
|
||||
for key, value in locals().iteritems():
|
||||
for key, value in locals().items():
|
||||
if key == "self":
|
||||
continue
|
||||
setattr(self, key, value)
|
||||
|
|
Loading…
Reference in New Issue