Skip to content

Commit

Permalink
add missing quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Giga77 committed Apr 21, 2024
1 parent dc4d64b commit ed9422b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/ecole_directe/ecole_directe_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def get_grades(token, eleve, annee_scolaire):
json_resp = get_response(
token,
f"{APIURL}/eleves/{eleve.eleve_id}/notes.awp?verbe=get&v={APIVERSION}",
f"data={{'anneeScolaire': {annee_scolaire}}}",
f"data={{'anneeScolaire': '{annee_scolaire}'}}",
)
if "data" in json_resp:
return json_resp["data"]
Expand Down

0 comments on commit ed9422b

Please sign in to comment.