1
0

change ls filters :show-hidden -> :show-done, :only-hidden -> :only done

This commit is contained in:
Akbar Rahman 2018-08-19 15:04:51 +01:00
parent 9f5c233c44
commit b4e07d246a
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

4
bot.py
View File

@ -278,9 +278,9 @@ def ls_tasks(arguments, chat_id):
filter_pass = True filter_pass = True
# hidden texts # hidden texts
if task.done and ":show-hidden" not in arguments: if task.done and ":show-done" not in arguments:
continue continue
if task.done and ":only-hidden" in arguments: if task.done and ":only-done" in arguments:
continue continue
# filter checking # filter checking