summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Checksum.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-25 09:42:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-25 09:42:49 +0200
commit952001324e1faf584b1adcb01c4a0406a3722932 (patch)
treeed87ade69e207e677d1144147b381bcd508ab25d /module/plugins/hooks/Checksum.py
parentAccount rewritten (2) (diff)
downloadpyload-952001324e1faf584b1adcb01c4a0406a3722932.tar.xz
Don't user dictionary’s iterator methods
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r--module/plugins/hooks/Checksum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py
index 9eb47e8a6..251918df5 100644
--- a/module/plugins/hooks/Checksum.py
+++ b/module/plugins/hooks/Checksum.py
@@ -166,7 +166,7 @@ class Checksum(Addon):
def package_finished(self, pypack):
download_folder = fs_join(self.pyload.config.get("general", "download_folder"), pypack.folder, "")
- for link in pypack.getChildren().itervalues():
+ for link in pypack.getChildren().values():
file_type = os.path.splitext(link['name'])[1][1:].lower()
if file_type not in self.formats: