Merge branch 'mizaki-cache_role_fix' into develop
This commit is contained in:
commit
c437532622
@ -378,7 +378,12 @@ class ComicCacher:
|
||||
)
|
||||
|
||||
# now process the results
|
||||
|
||||
credits = []
|
||||
try:
|
||||
for credit in json.loads(row[13]):
|
||||
credits.append(Credit(**credit))
|
||||
except Exception:
|
||||
logger.exception("credits failed")
|
||||
record = ComicIssue(
|
||||
id=row[1],
|
||||
name=row[2],
|
||||
@ -392,7 +397,7 @@ class ComicCacher:
|
||||
alt_image_urls=row[10].strip().splitlines(),
|
||||
characters=row[11].strip().splitlines(),
|
||||
locations=row[12].strip().splitlines(),
|
||||
credits=json.loads(row[13]),
|
||||
credits=credits,
|
||||
teams=row[14].strip().splitlines(),
|
||||
story_arcs=row[15].strip().splitlines(),
|
||||
complete=bool(row[16]),
|
||||
|
Loading…
Reference in New Issue
Block a user