From 3d6c828a62da397e5d89a7933c610e2acf34b477 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 8 May 2025 18:12:55 +0800 Subject: Work fewer hours --- Code/download_and_map.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Code/download_and_map.py') diff --git a/Code/download_and_map.py b/Code/download_and_map.py index 93e3400..7bc0dee 100644 --- a/Code/download_and_map.py +++ b/Code/download_and_map.py @@ -156,7 +156,7 @@ def has_no_more_time(times): first_time = times[0] now_time = datetime.now() time_diff = now_time - first_time - if time_diff.total_seconds()/3600 > 18: # started 18 hours ago, should stop now, let the machine rest for 6 hours + if time_diff.total_seconds()/3600 > 8: # started 8 hours ago, should stop now, let the machine rest for 16 hours return True return False -- cgit v1.2.1