Débug team_pdf si équipage sans &

This commit is contained in:
Ambulance Clerc
2022-10-19 11:21:27 +02:00
parent 031d7dae91
commit 1ad64af456

View File

@@ -198,7 +198,11 @@ class cls_caldav_client():
def format_data_event(self,event):
summary = event.vobject_instance.vevent.summary.value
if "-" not in summary:
return False
key = summary.split("-")
if "&" not in key[1]:
return False
equipage = key[1].split("&")
team_1 = ""
team_2 = ""