Skip to content

Commit 142c6fa

Browse files
authored
Merge pull request #295 from sim6/parse_task_uid_properly
Parse task UID properly
2 parents 28041d9 + f0a08b0 commit 142c6fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errands/lib/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def from_ical(ical: str | bytes, list_uid: str) -> TaskData:
186186
task.completed = True if value == "COMPLETED" else False
187187
elif "SUMMARY" in prop:
188188
task.text = value
189-
elif "UID" in prop:
189+
elif "UID" == prop:
190190
task.uid = value
191191
elif "DUE" in prop:
192192
task.due_date = value.strip("Z")

0 commit comments

Comments
 (0)