On utilise la catégorie de l'utilisateur

This commit is contained in:
Jean-Marie Favreau 2024-09-01 19:09:09 +02:00
parent 9b429f6951
commit 38bfd536fd

View File

@ -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,