diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index cbaa76f..dcc5b62 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -1704,7 +1704,7 @@ class Event(models.Model): eventIcal.add( "description", description + url ) - if not event.local_image is None: + if not event.local_image is None and event.local_image != "": eventIcal.add('image', request.build_absolute_uri(event.local_image), parameters={'VALUE': 'URI'}) eventIcal.add("location", event.exact_location or event.location)