X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..a0f6b1a1a9c460b0fd7430581fa7f93d61985230:/src/catalogue/signals.py 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