diff --git a/app/scodoc/sco_formsemestre_status.py b/app/scodoc/sco_formsemestre_status.py index b689dbf8..16635a66 100644 --- a/app/scodoc/sco_formsemestre_status.py +++ b/app/scodoc/sco_formsemestre_status.py @@ -436,7 +436,7 @@ def formsemestre_status_menubar(sem): return "\n".join(H) -def retreive_formsemestre_from_request(): +def retreive_formsemestre_from_request() -> int: """Cherche si on a de quoi déduire le semestre affiché à partir des arguments de la requête: formsemestre_id ou moduleimpl ou evaluation ou group_id ou partition_id @@ -482,7 +482,7 @@ def retreive_formsemestre_from_request(): else: return None # no current formsemestre - return formsemestre_id + return int(formsemestre_id) # Element HTML decrivant un semestre (barre de menu et infos) diff --git a/sco_version.py b/sco_version.py index e1ab1c57..97ef6ed8 100644 --- a/sco_version.py +++ b/sco_version.py @@ -1,7 +1,7 @@ # -*- mode: python -*- # -*- coding: utf-8 -*- -SCOVERSION = "9.0.34" +SCOVERSION = "9.0.35" SCONAME = "ScoDoc"