Si le lieu est vide, on met le nom par défaut
This commit is contained in:
parent
a0e8291a9c
commit
14694a6d85
@ -76,7 +76,7 @@ class ICALExtractor(Extractor):
|
||||
end_day = end_day + timedelta(days=-1)
|
||||
|
||||
location = self.get_item_from_vevent(event, "LOCATION")
|
||||
if location is None:
|
||||
if location is None or location.replace(" ", "") == "":
|
||||
location = self.default_value_if_exists(default_values, "location")
|
||||
|
||||
description = self.get_item_from_vevent(event, "DESCRIPTION")
|
||||
|
Loading…
Reference in New Issue
Block a user