correct correction

pull/94/head
eric 2021-03-16 12:28:06 -04:00
parent bb0f7028a4
commit e8343b13a6
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ def load_from_books(books):
edition = add_by_isbn_from_google(isbn, work=work)
if edition and edition.work != work:
work.language = lang
edition.work = lang
edition.work.language = lang
work = merge_works(work, edition.work)
if not edition:
edition = Edition(title=title, work=work)