From 457e00f2ef7a6c4918a53ad1da970a9ab44a469e Mon Sep 17 00:00:00 2001 From: Mark Cotton Date: Tue, 29 Aug 2023 22:22:39 -0500 Subject: [PATCH] trying to uri quote the ISO time to make /media happy, weird bug --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 0dbc48e..560df0d 100644 --- a/app.py +++ b/app.py @@ -320,7 +320,7 @@ def camera_list_of_videos(esn=None): een = session['een'] camera = een.get_camera_by_id(esn) - logging.debug(camera.get_list_of_videos(start_timestamp=een.time_before(hours=12), end_timestamp=een.time_now())) + logging.debug(camera.get_list_of_videos(start_timestamp=requests.utils.quote(een.time_before(hours=24)), end_timestamp=requests.utils.quote(een.time_now()))) values = { "current_user": een.current_user,