mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-20 07:06:41 +00:00
Fixes guessing read dates from goodreads csv
This commit is contained in:
parent
88f28ed5da
commit
e0f5f13a5a
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class ImportItem(models.Model):
|
|||
if start_date and start_date is not None and not self.date_read:
|
||||
return [ReadThrough(start_date=start_date)]
|
||||
if self.date_read:
|
||||
start_date = start_date if start_date < self.date_read else None
|
||||
return [
|
||||
ReadThrough(
|
||||
start_date=start_date,
|
||||
|
|
Loading…
Reference in a new issue