diff --git a/couchpotato/core/helpers/variable.py b/couchpotato/core/helpers/variable.py index 0482fb4..1f1d3ba 100644 --- a/couchpotato/core/helpers/variable.py +++ b/couchpotato/core/helpers/variable.py @@ -101,7 +101,7 @@ def getImdb(txt, check_inside = True): def tryInt(s): try: return int(s) - except: return s + except: return 0 def tryFloat(s): try: return float(s) if '.' in s else tryInt(s)