mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
pep8 fix
This commit is contained in:
parent
50e72dc58b
commit
94c9a99156
@ -20,7 +20,7 @@ def post_delete_signal_handler(instance, **kwargs):
|
||||
def register_signal_handlers():
|
||||
# Loop through list and register signal handlers for each one
|
||||
for model in index.get_indexed_models():
|
||||
if getattr(model, 'search_auto_update', True) == False:
|
||||
if not getattr(model, 'search_auto_update', True):
|
||||
continue
|
||||
|
||||
post_save.connect(post_save_signal_handler, sender=model)
|
||||
|
Loading…
Reference in New Issue
Block a user