mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-04 14:28:49 +00:00
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:
|
except:
|
||||||
item.fail_reason = 'Error loading book'
|
item.fail_reason = 'Error loading book'
|
||||||
item.save()
|
item.save()
|
||||||
|
continue
|
||||||
|
|
||||||
if item.book:
|
if item.book:
|
||||||
item.save()
|
item.save()
|
||||||
results.append(item)
|
results.append(item)
|
||||||
|
|
Loading…
Reference in a new issue