Update opolka/ScoDoc from ScoDoc/ScoDoc #2

Merged
opolka merged 1272 commits from ScoDoc/ScoDoc:master into master 2024-05-27 09:11:04 +02:00
Showing only changes of commit 74b8b90a65 - Show all commits

View File

@ -88,8 +88,10 @@ def retreive_formsemestre_from_request() -> int:
if formsemestre_id is None:
return None # no current formsemestre
return int(formsemestre_id)
try:
return int(formsemestre_id)
except ValueError:
return None # no current formsemestre
def sidebar_common():