Skip to content

Commit

Permalink
tw_gcal: Set default for syncallduration field
Browse files Browse the repository at this point in the history
  • Loading branch information
bergercookie committed Jan 29, 2024
1 parent 6af7b63 commit 1f46649
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions syncall/tw_gcal_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def convert_tw_to_gcal(
i in tw_item.keys() for i in ("description", "status", "uuid")
), "Missing keys in tw_item"

if tw_duration_key not in tw_item.keys():
tw_item[tw_duration_key] = default_event_duration

gcal_item = {}

# Summary
Expand Down

0 comments on commit 1f46649

Please sign in to comment.