1
0
forked from ScoDoc/ScoDoc

Assiduites : bugfix aucun dem def

This commit is contained in:
iziram 2023-07-25 20:15:28 +02:00
parent 1e9796528f
commit 4e5e15092e

View File

@ -934,6 +934,7 @@ def _get_etuds_dem_def(formsemestre):
for etud in etuds_dem_def: for etud in etuds_dem_def:
json_str += template.replace("£", str(etud[0])).replace("$", etud[1]) json_str += template.replace("£", str(etud[0])).replace("$", etud[1])
if json_str != "{":
json_str = json_str[:-1] + "}" json_str = json_str[:-1] + "}"
return json_str return json_str