Débug team_pdf si équipage sans &
This commit is contained in:
@@ -198,7 +198,11 @@ class cls_caldav_client():
|
|||||||
|
|
||||||
def format_data_event(self,event):
|
def format_data_event(self,event):
|
||||||
summary = event.vobject_instance.vevent.summary.value
|
summary = event.vobject_instance.vevent.summary.value
|
||||||
|
if "-" not in summary:
|
||||||
|
return False
|
||||||
key = summary.split("-")
|
key = summary.split("-")
|
||||||
|
if "&" not in key[1]:
|
||||||
|
return False
|
||||||
equipage = key[1].split("&")
|
equipage = key[1].split("&")
|
||||||
team_1 = ""
|
team_1 = ""
|
||||||
team_2 = ""
|
team_2 = ""
|
||||||
|
Reference in New Issue
Block a user