Fix deux erreurs
This commit is contained in:
parent
14efffe6db
commit
27d44f6918
@ -91,7 +91,7 @@ class ICALExtractor(Extractor):
|
|||||||
end_day = end_day + timedelta(days=-1)
|
end_day = end_day + timedelta(days=-1)
|
||||||
|
|
||||||
location = self.get_item_from_vevent(event, "LOCATION")
|
location = self.get_item_from_vevent(event, "LOCATION")
|
||||||
if location.replace(" ", "") == "":
|
if (not location is None) and location.replace(" ", "") == "":
|
||||||
location = None
|
location = None
|
||||||
|
|
||||||
description = self.get_item_from_vevent(event, "DESCRIPTION")
|
description = self.get_item_from_vevent(event, "DESCRIPTION")
|
||||||
@ -127,7 +127,7 @@ class ICALExtractor(Extractor):
|
|||||||
)
|
)
|
||||||
# possible limitation: if the ordering is not original then related
|
# possible limitation: if the ordering is not original then related
|
||||||
|
|
||||||
tags = None
|
tags = []
|
||||||
|
|
||||||
last_modified = self.get_item_from_vevent(event, "LAST-MODIFIED", raw=True)
|
last_modified = self.get_item_from_vevent(event, "LAST-MODIFIED", raw=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user