Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ caldav = { version = "^0.11.0", optional = true }
icalendar = { version = "^5.0.13", optional = true }
taskw-ng = { version = "0.2.7", optional = true }
xattr = { version = "^0.9.9", optional = true }
xdg = { version = "^6.0.0", optional = true }
pyxdg = { version = "^0.28", optional = true }

loguru = "^0.5.3"
python-dateutil = "^2.9.0.post0"
Expand All @@ -85,7 +85,7 @@ gkeep = ["gkeepapi"]
notion = ["notion-client"]
asana = ["asana"]
caldav = ["caldav", "icalendar"]
tw = ["taskw-ng", "xdg"]
tw = ["taskw-ng", "pyxdg"]
fs = ["xattr"]

# dev dependencies -------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions syncall/taskwarrior/taskwarrior_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from bubop import logger, parse_datetime
from taskw_ng import TaskWarrior
from taskw_ng.warrior import TASKRC
from xdg import xdg_config_home
from xdg.BaseDirectory import xdg_config_home

from syncall.sync_side import ItemType, SyncSide
from syncall.types import TaskwarriorRawItem
Expand Down Expand Up @@ -78,7 +78,7 @@ def __init__(
config_file = None
candidate_config_files = [
Path(TASKRC).expanduser(),
xdg_config_home() / "task" / "taskrc",
f"{xdg_config_home} / task / taskrc",
]
if config_file_override is not None:
if not config_file_override.is_file():
Expand Down