1
0

Fix commandless task adding

This commit is contained in:
2018-06-26 20:50:45 +01:00
parent 909365c413
commit 672c893280

2
bot.py
View File

@@ -37,7 +37,7 @@ def on_message(msg):
elif command == '/undo':
undo_tasks(arguments, chat_id)
else:
add_task(text)
add_task(Task(text), chat_id)
def add_task(task, chat_id):