Lazy commit on <function hostname at 0x7f5b09cecf40>.

This commit is contained in:
James Downie 2025-06-30 20:21:33 +10:00
parent d69df23f40
commit ae529879d0

View File

@ -27,7 +27,7 @@ def get_latest_git_mtime(repos: dict) -> float:
def is_repo_status_outdated(repos):
latest_mtime = get_latest_git_mtime(repos)
last_mtime = 0
if os.path.exists(filepath("mtime")):
if os.path.exists(filepath("status")) and os.path.exists(filepath("mtime")):
with open(filepath("mtime"), "rt") as fin:
content = fin.read().strip()
print(f"content: {content}")