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