From b9338a639edc43505b52ebed02f9679fc5b7ca68 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 31 Jul 2014 22:09:23 -0400 Subject: [PATCH] Fix issue restoring torrent state --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 57a168470..9c011bc10 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -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)