X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7d8acded4a58d423035c5759f6dee9a34396959..ca8f4e8fef80cb603117ed579da8554f503698e5:/src/catalogue/models/book.py diff --git a/src/catalogue/models/book.py b/src/catalogue/models/book.py index ac8c02b9e..29e375464 100644 --- a/src/catalogue/models/book.py +++ b/src/catalogue/models/book.py @@ -653,11 +653,6 @@ class Book(models.Model): meta_tags = Tag.tags_from_info(book_info) - for tag, relationship in meta_tags: - if not tag.for_books: - tag.for_books = True - tag.save() - just_tags = [t for (t, rel) in meta_tags if not rel] book.tags = set(just_tags + book_shelves) book.save() # update sort_key_author