summaryrefslogtreecommitdiff
path: root/type/centcount.py
diff options
context:
space:
mode:
Diffstat (limited to 'type/centcount.py')
-rw-r--r--type/centcount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/type/centcount.py b/type/centcount.py
index 4181721..ce18975 100644
--- a/type/centcount.py
+++ b/type/centcount.py
@@ -210,7 +210,7 @@ class CentCount(object):
centcount = int(float(chunk) * 100.0)
elif CentCount.CURRENCY_RE.match(chunk) is not None:
currency = chunk
- except:
+ except Exception:
pass
if centcount is not None and currency is not None:
return (centcount, currency)