forked from mirrors/bookwyrm
fix author is now class object not dict
This commit is contained in:
parent
8691023fa9
commit
fd3ed7fb8c
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def augment_author_metadata(author, isni):
|
|||
# we DO want to overwrite aliases because we're adding them to the
|
||||
# existing aliases and ISNI will usually have more.
|
||||
# We need to dedupe because ISNI records often have lots of dupe aliases
|
||||
aliases = set(isni_author["aliases"])
|
||||
aliases = set(isni_author.aliases)
|
||||
for alias in author.aliases:
|
||||
aliases.add(alias)
|
||||
author.aliases = list(aliases)
|
||||
|
|
Loading…
Reference in a new issue