Skip to content

Commit

Permalink
alaways pass string representation of calendar object to dquote
Browse files Browse the repository at this point in the history
  • Loading branch information
jacadzaca committed Dec 15, 2022
1 parent 0e0fdc5 commit 4de1636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icalendar/parser.py
Expand Up @@ -102,7 +102,7 @@ def param_value(value):
"""
if isinstance(value, SEQUENCE_TYPES):
return q_join(value)
return dquote(value)
return dquote(value.to_ical().decode(DEFAULT_ENCODING))


# Could be improved
Expand Down

0 comments on commit 4de1636

Please sign in to comment.