kopia lustrzana https://github.com/collective/icalendar
alaways pass string representation of calendar object to dquote
rodzic
0e0fdc574d
commit
b47aba5400
|
@ -102,7 +102,10 @@ def param_value(value):
|
|||
"""
|
||||
if isinstance(value, SEQUENCE_TYPES):
|
||||
return q_join(value)
|
||||
return dquote(value)
|
||||
elif isinstance(value, str):
|
||||
return dquote(value)
|
||||
else:
|
||||
return dquote(value.to_ical().decode(DEFAULT_ENCODING))
|
||||
|
||||
|
||||
# Could be improved
|
||||
|
|
Ładowanie…
Reference in New Issue