Skip to content

Commit

Permalink
fix: dev: error on search query creation
Browse files Browse the repository at this point in the history
  • Loading branch information
rachmadaniHaryono committed Jul 5, 2018
1 parent c1df6c8 commit 8606817
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gbooru_images_download/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def create(
session.rollback()
return False
else:
after_model_change_func(form, model, True)
if after_model_change_func:
after_model_change_func(form, model, True)
return model


Expand Down

0 comments on commit 8606817

Please sign in to comment.