Fix batch string sometimes being null when cards are missing data

This commit is contained in:
Henry 2020-10-23 20:32:34 +01:00
parent 9064590ad7
commit 86de89fda9
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Card:
extra = kwargs.get("category")
self.anime = extra[0]
self.batch = extra[3]
self.batch = extra[-1]
except IndexError:
pass