Bad method called for Search remove note

This commit is contained in:
Gregory Soutade 2016-01-26 19:31:32 +01:00
parent 712ae02a32
commit ff010746a3

View File

@ -129,7 +129,7 @@ def post_save_note_signal(sender, **kwargs):
@receiver(pre_delete, sender=Note)
def pre_delete_note_signal(sender, **kwargs):
s = Search()
s.remove_note(kwargs['instance'].id)
s.delete_note(kwargs['instance'].id)
def manage_category(user, cat_name):
category = None