Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed May 18, 2024
1 parent 58fc70a commit b6f9fd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions errands/lib/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ def from_ical(ical: str | bytes, list_uid: str) -> TaskData:
task.parent = value
elif "STATUS" in prop:
task.completed = True if value == "COMPLETED" else False
# elif "SUMMARY" in prop:
# task.text = value.replace("\\,", ",").replace("\\\\", "\\")
elif "SUMMARY" in prop:
task.text = value
elif "UID" in prop:
task.uid = value
elif "DUE" in prop:
Expand All @@ -196,8 +196,8 @@ def from_ical(ical: str | bytes, list_uid: str) -> TaskData:
task.start_date = value.strip("Z")
if task.start_date and "T" not in task.start_date:
task.start_date += "T000000"
# elif "DESCRIPTION" in prop:
# task.notes = value.replace("\\,", ",").replace("\\\\", "\\")
elif "DESCRIPTION" in prop:
task.notes = value
elif "CATEGORIES" in prop:
task.tags = value.split(",") if value else []
elif "X-ERRANDS-COLOR" in prop:
Expand Down
Binary file modified screenshots/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b6f9fd3

Please sign in to comment.