summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/ocr
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/ocr')
-rw-r--r--pyload/plugins/ocr/LinksaveIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/ocr/LinksaveIn.py b/pyload/plugins/ocr/LinksaveIn.py
index a9171ac7c..754bfc39d 100644
--- a/pyload/plugins/ocr/LinksaveIn.py
+++ b/pyload/plugins/ocr/LinksaveIn.py
@@ -79,7 +79,7 @@ class LinksaveIn(OCR):
rgb_c = lut[pix[x, y]]
try:
cstat[rgb_c] += 1
- except:
+ except Exception:
cstat[rgb_c] = 1
if rgb_bg == rgb_c:
stat[bgpath] += 1