|
@@ -258,8 +258,11 @@ async def update_project_from_gsheet(
|
|
|
required_volunteers=len(volunteers),
|
|
required_volunteers=len(volunteers),
|
|
|
)
|
|
)
|
|
|
for benevole_key in unique_volunteers:
|
|
for benevole_key in unique_volunteers:
|
|
|
- if benevole_key in volunteer_map:
|
|
|
|
|
- slot.volunteers.append(volunteer_map[benevole_key])
|
|
|
|
|
|
|
+ key = benevole_key.strip()
|
|
|
|
|
+ if key in volunteer_map:
|
|
|
|
|
+ slot.volunteers.append(volunteer_map[key])
|
|
|
|
|
+ else:
|
|
|
|
|
+ print("volunteer unknown "+ key)
|
|
|
|
|
|
|
|
template_id = group.template_id.iloc[0]
|
|
template_id = group.template_id.iloc[0]
|
|
|
if template_id in template_map:
|
|
if template_id in template_map:
|