Normalize action message
This commit is contained in:
@@ -56,7 +56,10 @@ def handle_action(args, last_action, conn):
|
||||
object_type = 'note'
|
||||
id_object = note_id
|
||||
|
||||
print('{} ({}): {} {} {}: {}'.format(formated_date, username, taction, object_type, id_object, message))
|
||||
if taction == TypeAction.DELETE.value:
|
||||
print('{} ({}): {} {} {}'.format(formated_date, username, taction, object_type, id_object))
|
||||
else:
|
||||
print('{} ({}): {} {} {}: {}'.format(formated_date, username, taction, object_type, id_object, message))
|
||||
|
||||
|
||||
# print('Sep 02, 2017 02:33 (dakota ): updated task 1: Passage à Angular 4 (status: in progress)')
|
||||
|
||||
Reference in New Issue
Block a user