forked from mirrors/bookwyrm
Small fix in goodreads import error handling
This commit is contained in:
parent
032ce8efba
commit
932b4f8b81
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ def import_data(job_id):
|
|||
except:
|
||||
item.fail_reason = 'Error loading book'
|
||||
item.save()
|
||||
continue
|
||||
|
||||
if item.book:
|
||||
item.save()
|
||||
results.append(item)
|
||||
|
|
Loading…
Reference in a new issue