Skip to content

Commit

Permalink
chore: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete-Hamlin committed Sep 17, 2024
1 parent f138075 commit a65b393
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion syncall/tw_caldav_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,11 @@ def convert_tw_to_caldav(tw_item: Item) -> Item:
)

# Priority - tw treats priority as a UDA, so any custom options just ignore for now
if "priority" in tw_item.keys() and tw_item["priority"].lower() in aliases_tw_caldav_priority.keys():
if (
"priority" in tw_item.keys()
and tw_item["priority"].lower() in aliases_tw_caldav_priority.keys()
):

caldav_item["priority"] = aliases_tw_caldav_priority[tw_item["priority"].lower()]
else:
caldav_item["priority"] = ""
Expand Down

0 comments on commit a65b393

Please sign in to comment.