Fix issue restoring torrent state

This commit is contained in:
Chase Sterling 2014-07-31 22:09:23 -04:00
parent 205444f670
commit b9338a639e

View File

@ -68,7 +68,7 @@ class TorrentState:
name=None name=None
): ):
# Build the class atrribute list from args # Build the class atrribute list from args
for key, value in locals().iteritems(): for key, value in locals().items():
if key == "self": if key == "self":
continue continue
setattr(self, key, value) setattr(self, key, value)