From 8d19a5b68299752f1c0c95ba45efc7ab6f144cc2 Mon Sep 17 00:00:00 2001 From: Sara Zan Date: Wed, 4 May 2022 22:45:44 +0200 Subject: [PATCH] Missing quotes --- zanzocam/web_ui/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zanzocam/web_ui/pages.py b/zanzocam/web_ui/pages.py index ab786e2..02fbe17 100644 --- a/zanzocam/web_ui/pages.py +++ b/zanzocam/web_ui/pages.py @@ -70,7 +70,7 @@ def logs_page(): percentage_occupancy = (total_logs_size / (total_logs_size + free_disk_space)) * 100 no_logs_dir = False - send_logs = read_flag_file(path=SEND_LOGS_FLAG, default=YES, catch_errors=True) + send_logs = read_flag_file(path=SEND_LOGS_FLAG, default="YES", catch_errors=True) logs_count=len(logs.keys()) logs_size=f"{(total_logs_size / 1024):.2f} KB" log_disk_occupancy=f"{percentage_occupancy:.4f}%"