forked from ScoDoc/ScoDoc
Assiduites : bugfix aucun dem def
This commit is contained in:
parent
1e9796528f
commit
4e5e15092e
@ -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])
|
||||||
|
|
||||||
json_str = json_str[:-1] + "}"
|
if json_str != "{":
|
||||||
|
json_str = json_str[:-1] + "}"
|
||||||
|
|
||||||
return json_str
|
return json_str
|
||||||
|
Loading…
Reference in New Issue
Block a user