From e0f5f13a5ada89dd9562d55c328bd261fbb685a9 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 7 Sep 2021 18:09:43 -0700 Subject: [PATCH] Fixes guessing read dates from goodreads csv --- bookwyrm/models/import_job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/models/import_job.py b/bookwyrm/models/import_job.py index 05aada16..69d5f5da 100644 --- a/bookwyrm/models/import_job.py +++ b/bookwyrm/models/import_job.py @@ -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,