Lazy commit on scruffy.
This commit is contained in:
parent
7bb317751c
commit
0cec2226b4
@ -30,7 +30,6 @@ def is_repo_status_outdated(repos):
|
|||||||
if os.path.exists(filepath("status")) and os.path.exists(filepath("mtime")):
|
if os.path.exists(filepath("status")) and os.path.exists(filepath("mtime")):
|
||||||
with open(filepath("mtime"), "rt") as fin:
|
with open(filepath("mtime"), "rt") as fin:
|
||||||
content = fin.read().strip()
|
content = fin.read().strip()
|
||||||
print(f"content: {content}")
|
|
||||||
last_mtime = float(content)
|
last_mtime = float(content)
|
||||||
return latest_mtime > last_mtime
|
return latest_mtime > last_mtime
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user