From 6d33b2b8e351b4312d521d97dc28365e18c6331d Mon Sep 17 00:00:00 2001 From: rdbende Date: Fri, 19 Jan 2024 22:47:55 +0100 Subject: [PATCH] Blacking --- cozy/view_model/library_view_model.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cozy/view_model/library_view_model.py b/cozy/view_model/library_view_model.py index a29e51ff..a2cb0cb2 100644 --- a/cozy/view_model/library_view_model.py +++ b/cozy/view_model/library_view_model.py @@ -96,8 +96,7 @@ def authors(self): authors = { book.author - for book - in self._model.books + for book in self._model.books if is_book_online(book) or show_offline_books or book.downloaded } @@ -110,8 +109,7 @@ def readers(self): readers = { book.reader - for book - in self._model.books + for book in self._model.books if is_book_online(book) or show_offline_books or book.downloaded }