summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/LinksaveIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:58:47 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-28 04:58:47 +0100
commit302616d94f76ab8794b58d3d54b780cc58e86b06 (patch)
treeadce8aa07473d668d86f09018bd52027e6df1907 /module/plugins/captcha/LinksaveIn.py
parent[HookManager] Remove __threaded__ checks (diff)
downloadpyload-302616d94f76ab8794b58d3d54b780cc58e86b06.tar.xz
Code cosmetics: items() -> iteritems()
Diffstat (limited to 'module/plugins/captcha/LinksaveIn.py')
-rw-r--r--module/plugins/captcha/LinksaveIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/captcha/LinksaveIn.py b/module/plugins/captcha/LinksaveIn.py
index 6535dd11f..b210ab071 100644
--- a/module/plugins/captcha/LinksaveIn.py
+++ b/module/plugins/captcha/LinksaveIn.py
@@ -85,7 +85,7 @@ class LinksaveIn(OCR):
stat[bgpath] += 1
max_p = 0
bg = ""
- for bgpath, value in stat.items():
+ for bgpath, value in stat.iteritems():
if max_p < value:
bg = bgpath
max_p = value