X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..070975c3e28093c54fa890962a756e89b5f4d155:/src/catalogue/signals.py?ds=inline diff --git a/src/catalogue/signals.py b/src/catalogue/signals.py index 660d26493..3adfedbb0 100644 --- a/src/catalogue/signals.py +++ b/src/catalogue/signals.py @@ -92,8 +92,7 @@ def tag_after_change(sender, instance, languages, **kwargs): @receiver(tags_updated) def receive_tags_updated(sender, instance, affected_tags, **kwargs): - categories = set(tag.category for tag in affected_tags - if tag.category not in ('set', 'book')) + categories = set(tag.category for tag in affected_tags if tag.category not in ('set', 'book')) if not categories: return