Fix batch string sometimes being null when cards are missing data
This commit is contained in:
parent
9064590ad7
commit
86de89fda9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue