Skip to content
Snippets Groups Projects
Commit 2c3463b4 authored by nimrod's avatar nimrod
Browse files

fixup! Fix typo.

parent d40d3c27
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ def main(): ...@@ -100,7 +100,7 @@ def main():
exit(2) exit(2)
# Calculate the age of the latest file and if it's in the thresholds set. # Calculate the age of the latest file and if it's in the thresholds set.
if files[0]["HoursSinceLastModified"] > NOW: if files[0]["LastModified"] > NOW:
print("Latest file is from the future, something is wrong.") print("Latest file is from the future, something is wrong.")
exit(3) exit(3)
timedelta = files[0]["HoursSinceLastModified"] timedelta = files[0]["HoursSinceLastModified"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment