diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2025-05-08 18:12:55 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2025-05-08 18:12:55 +0800 |
commit | 3d6c828a62da397e5d89a7933c610e2acf34b477 (patch) | |
tree | 66cc602aa032339ecc2b5b8f836d14a0970e0d4f | |
parent | c0df4a63724dd7f862ccd14244e7f3bbe3b3adf7 (diff) |
Work fewer hours
-rw-r--r-- | Code/download_and_map.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |