diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-28 04:58:47 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-28 04:58:47 +0100 |
commit | 302616d94f76ab8794b58d3d54b780cc58e86b06 (patch) | |
tree | adce8aa07473d668d86f09018bd52027e6df1907 /module/plugins/crypter | |
parent | [HookManager] Remove __threaded__ checks (diff) | |
download | pyload-302616d94f76ab8794b58d3d54b780cc58e86b06.tar.xz |
Code cosmetics: items() -> iteritems()
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/ShareLinksBiz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/crypter/ShareLinksBiz.py b/module/plugins/crypter/ShareLinksBiz.py index bac222d3f..f45aa4570 100644 --- a/module/plugins/crypter/ShareLinksBiz.py +++ b/module/plugins/crypter/ShareLinksBiz.py @@ -142,7 +142,7 @@ class ShareLinksBiz(Crypter): def _resolveCoords(self, coords, captchaMap): x, y = coords - for rect, href in captchaMap.items(): + for rect, href in captchaMap.iteritems(): x1, y1, x2, y2 = rect if (x >= x1 and x <= x2) and (y >= y1 and y <= y2): return href |