change ls filters :show-hidden -> :show-done, :only-hidden -> :only done
This commit is contained in:
parent
9f5c233c44
commit
b4e07d246a
4
bot.py
4
bot.py
@ -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
|
||||||
|
Reference in New Issue
Block a user