Skip to content

Commit

Permalink
Correct passing the UDAs to taskw_ng.Warrior
Browse files Browse the repository at this point in the history
  • Loading branch information
bergercookie committed Jan 30, 2024
1 parent 6105bd7 commit 1671fa4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion syncall/taskwarrior/taskwarrior_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"urgency",
]

tw_config_default_overrides = {"context": "none", f"uda.{tw_duration_key}.type": "duration"}
tw_config_default_overrides = {
"context": "none",
"uda": {tw_duration_key: {"type": "duration", "label": "Syncall Duration"}},
}


def parse_datetime_(dt: Union[str, datetime.datetime]) -> datetime.datetime:
Expand Down

0 comments on commit 1671fa4

Please sign in to comment.