Skip to content

Commit 4462009

Browse files
Marijn0MichaIng
andauthored
review suggestion
Co-authored-by: MichaIng <micha@dietpi.com>
1 parent 6093f9d commit 4462009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

motioneye/handlers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
_session_store: dict = {}
3737

3838

39-
def session_expiry_seconds(user_type):
39+
def session_expiry_seconds(user_type: str) -> int:
4040
if user_type == 'normal':
4141
return max(1, settings.NORMAL_SESSION_EXPIRY_HOURS) * 3600
4242
return _SESSION_EXPIRY_SECONDS

0 commit comments

Comments
 (0)