Normalize action message

This commit is contained in:
2018-07-11 02:02:05 +02:00
parent 6c2b4f2c58
commit 9b57e1f73e
4 changed files with 14 additions and 15 deletions

View File

@@ -113,7 +113,7 @@ def delete_note(note_id, conn):
print('could not find note {}'.format(note_id))
sys.exit(1)
record_action(cursor, TypeAction.DELETE, 'delete note')
record_action(cursor, TypeAction.DELETE, '', note_id=note_id)
print('deleted note {}: {}'.format(note_id, 'note_name'))