forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -88,8 +88,10 @@ def retreive_formsemestre_from_request() -> int:
|
||||
|
||||
if formsemestre_id is None:
|
||||
return None # no current formsemestre
|
||||
|
||||
try:
|
||||
return int(formsemestre_id)
|
||||
except ValueError:
|
||||
return None # no current formsemestre
|
||||
|
||||
|
||||
def sidebar_common():
|
||||
|
Loading…
Reference in New Issue
Block a user