forked from mirrors/bookwyrm
Fixes query syntax
This commit is contained in:
parent
cf17c3e793
commit
fa15218980
|
@ -304,7 +304,7 @@ def add_status_on_create_command(sender, instance, created):
|
||||||
priority = LOW
|
priority = LOW
|
||||||
|
|
||||||
# don't add imported statuses to feeds
|
# don't add imported statuses to feeds
|
||||||
if models.ImportItem.objects.exists(linked_review=instance):
|
if models.ImportItem.objects.filter(linked_review=instance).exists():
|
||||||
return
|
return
|
||||||
|
|
||||||
add_status_task.apply_async(
|
add_status_task.apply_async(
|
||||||
|
|
Loading…
Reference in a new issue