kopia lustrzana https://github.com/collective/icalendar
Fix ical printing
There more be more places in the doc, where this is required. I was not 100% sure, so I only fixed this obvious, confirmed bug.pull/352/head
rodzic
90c0593506
commit
2e1569d641
|
|
@ -102,7 +102,7 @@ The rendered view is easier to read::
|
|||
So, let's define a function so we can easily display to_ical() output::
|
||||
|
||||
>>> def display(cal):
|
||||
... return cal.to_ical().replace(b'\r\n', b'\n').strip()
|
||||
... return cal.to_ical().decode("utf-8").replace(b'\r\n', b'\n').strip()
|
||||
|
||||
You can set multiple properties like this::
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue