forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -934,6 +934,7 @@ def _get_etuds_dem_def(formsemestre):
|
||||
for etud in etuds_dem_def:
|
||||
json_str += template.replace("£", str(etud[0])).replace("$", etud[1])
|
||||
|
||||
if json_str != "{":
|
||||
json_str = json_str[:-1] + "}"
|
||||
|
||||
return json_str
|
||||
|
Loading…
Reference in New Issue
Block a user