Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed May 9, 2024
1 parent 368f643 commit fa67833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errands/lib/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def to_ical(self, as_calendar: bool = False) -> str:
ical: str = ""
ical += "BEGIN:VTODO\n"
ical += f"X-ERRANDS-COLOR:{self.color}\n"
ical += f"STATUS:{"COMPLETED" if self.completed else "NEEDS-ACTION"}\n"
ical += f"STATUS:{'COMPLETED' if self.completed else 'NEEDS-ACTION'}\n"
ical += f"LAST-MODIFIED:{self.changed_at}\n"
ical += f"DTSTAMP:{self.created_at}\n"
ical += f"DUE:{self.due_date}\n"
Expand Down

0 comments on commit fa67833

Please sign in to comment.