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
1 change: 1 addition & 0 deletions syncall/caldav/caldav_side.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class CaldavSide(SyncSide):
"status",
"summary",
"due",
"priority",
SYNCALL_TW_WAITING,
)

Expand Down
2 changes: 1 addition & 1 deletion syncall/tw_caldav_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def convert_tw_to_caldav(tw_item: Item) -> Item:
if "priority" in tw_item:
caldav_item["priority"] = aliases_tw_caldav_priority[tw_item["priority"].lower()]
else:
caldav_item["priority"] = ""
caldav_item["priority"] = 0

# Timestamps
if "entry" in tw_item:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tw_caldav_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
caldav_pending_item = {
"summary": "task in project - and with date",
"description": "",
"priority": "",
"priority": 0,
SYNCALL_TW_UUID: "4471f2ac-4a70-4012-9eff-b4ddfc860d26",
"status": "needs-action",
SYNCALL_TW_WAITING: "false",
Expand Down