X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2fea31c78fb2dbbbabda91c64aab0760adba517c..b2d342589a7889a3b096e7192453d53bd28eed7d:/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