Fix override setting

This commit is contained in:
Marty Oehme 2021-10-31 15:44:41 +01:00
parent 63545da224
commit b02e09eea3
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -93,11 +93,11 @@ def get_prio_string(task_string):
def log_done_to_taskwarrior(task_string, date): def log_done_to_taskwarrior(task_string, date):
overrides = "rc.context=none rc.hooks=0" overrides = ["rc.context=none", "rc.verbose=nothing", "rc.hooks=0"]
cmd = [ cmd = [
"task", "task",
overrides, *overrides,
"log", "log",
f'"{task_string}"', f'"{task_string}"',
f"entry:{date}", f"entry:{date}",