minor edits
This commit is contained in:
parent
343c03a6c1
commit
ec07146c08
@ -22,7 +22,7 @@ PROPERTY_LAST_ARGUMENTS = "last_arguments"
|
||||
|
||||
CONFIG_FILE = '/config/config.json'
|
||||
ALPHABET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||
TASKS_FILE="/config/tasks.json"
|
||||
TASKS_FILE = "/config/tasks.json"
|
||||
|
||||
|
||||
with open(CONFIG_FILE) as file:
|
||||
@ -88,7 +88,8 @@ def process_command(chat_id, command, arguments):
|
||||
delete_all_tasks(chat_id)
|
||||
elif command == '/priority':
|
||||
#priority(chat_id, arguments)
|
||||
function_fuzzy_checker(chat_id, arguments, priority, ignore=[0], handler=fuzzy_priority_handler)
|
||||
function_fuzzy_checker(chat_id, arguments, priority, ignore=[0],
|
||||
handler=fuzzy_priority_handler)
|
||||
else:
|
||||
set_property(chat_id, PROPERTY_LAST_COMMAND, '/add')
|
||||
set_property(chat_id, PROPERTY_LAST_ARGUMENTS, arguments)
|
||||
|
Reference in New Issue
Block a user