remove trailing whitespace causing pylint/black errors

This commit is contained in:
Hunter Chambers 2022-10-10 14:13:57 -04:00
parent 02c7397eaf
commit 32f68c3f62

View file

@ -42,7 +42,7 @@ class Author(BookDataModel):
for book in self.book_set.values_list("id", flat=True)
]
cache.delete_many(cache_keys)
# normalize isni format
if self.isni:
self.isni = re.sub(r"\s", "", self.isni)