summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/anidb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/anidb.py b/modules/anidb.py
index c5862e8..5a3633d 100644
--- a/modules/anidb.py
+++ b/modules/anidb.py
@@ -62,7 +62,7 @@ class Module:
catlist = catlist.split(',')
catweight = catweight.split(',')
try:
- catn = max(catweight.index(str(int(catweight[0]-1))), 10)
+ catn = max(catweight.index(str(int(catweight[0])-1)), 10)
except:
catn = 10
rating = float(rating) / 100