From fcafcc74046a967d6d6f664899325b3cdc93b549 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 15 Sep 2023 22:10:14 +0100 Subject: [PATCH] Compare strings --- schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schedule.py b/schedule.py index 98dfb493b..135b84fb1 100644 --- a/schedule.py +++ b/schedule.py @@ -212,7 +212,7 @@ def run_post_schedule_watchdog(project_version: str, httpd) -> None: time.sleep(20) # save the list of unavailable sites - if str(curr_sites_unavailable) != httpd.sites_unavailable: + if str(curr_sites_unavailable) != str(httpd.sites_unavailable): save_unavailable_sites(httpd.base_dir, httpd.sites_unavailable) curr_sites_unavailable = httpd.sites_unavailable.copy()