Lazy commit on <function hostname at 0x7f5b09cecf40>.
This commit is contained in:
parent
d69df23f40
commit
ae529879d0
@ -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}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user