summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/OCR.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/OCR.py')
-rw-r--r--module/plugins/internal/OCR.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/OCR.py b/module/plugins/internal/OCR.py
index 36d259e0c..9896837b5 100644
--- a/module/plugins/internal/OCR.py
+++ b/module/plugins/internal/OCR.py
@@ -260,7 +260,7 @@ class OCR(Plugin):
hkey = 0
hvalue = 0
- for key, value in highest.iteritems():
+ for key, value in highest.items():
if value > hvalue:
hkey = key
hvalue = value
@@ -325,7 +325,7 @@ class OCR(Plugin):
else:
result = self.result_captcha
- for key, item in values.iteritems():
+ for key, item in values.items():
if key.__class__ is str:
result = result.replace(key, item)