Fixes guessing read dates from goodreads csv

This commit is contained in:
Mouse Reeve 2021-09-07 18:09:43 -07:00
parent 88f28ed5da
commit e0f5f13a5a

View file

@ -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,