On utilise la catégorie de l'utilisateur
This commit is contained in:
parent
9b429f6951
commit
38bfd536fd
@ -41,9 +41,14 @@ class GoogleCalendarLinkEventExtractor(Extractor):
|
|||||||
|
|
||||||
self.set_header(url)
|
self.set_header(url)
|
||||||
|
|
||||||
|
if "category" in default_values:
|
||||||
|
category = default_values["category"]
|
||||||
|
else:
|
||||||
|
category = None
|
||||||
|
|
||||||
self.add_event(
|
self.add_event(
|
||||||
title=title,
|
title=title,
|
||||||
category=None,
|
category=category,
|
||||||
start_day=start_day,
|
start_day=start_day,
|
||||||
location=location,
|
location=location,
|
||||||
description=description,
|
description=description,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user