mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Fix location field in private ICS files
This commit is contained in:
@@ -150,7 +150,7 @@ def get_private_icals(event, positions):
|
|||||||
vevent.add('description').value = description
|
vevent.add('description').value = description
|
||||||
vevent.add('dtstamp').value = creation_time
|
vevent.add('dtstamp').value = creation_time
|
||||||
if ev.location:
|
if ev.location:
|
||||||
vevent.add('location').value = str(ev.location)
|
vevent.add('location').value = ", ".join(l.strip() for l in str(ev.location).splitlines() if l.strip())
|
||||||
|
|
||||||
vevent.add('uid').value = 'pretix-{}-{}-{}@{}'.format(
|
vevent.add('uid').value = 'pretix-{}-{}-{}@{}'.format(
|
||||||
event.organizer.slug,
|
event.organizer.slug,
|
||||||
|
|||||||
Reference in New Issue
Block a user