diff --git a/fedireads/models/import_job.py b/fedireads/models/import_job.py index 2465fe12..28555c0f 100644 --- a/fedireads/models/import_job.py +++ b/fedireads/models/import_job.py @@ -89,7 +89,7 @@ class ImportItem(models.Model): def shelf(self): ''' the goodreads shelf field ''' if self.data['Exclusive Shelf']: - return GOODREADS_SHELVES[self.data['Exclusive Shelf']] + return GOODREADS_SHELVES.get(self.data['Exclusive Shelf']) @property def review(self):