summaryrefslogtreecommitdiffstats
path: root/update_latest.py
diff options
context:
space:
mode:
Diffstat (limited to 'update_latest.py')
-rw-r--r--update_latest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_latest.py b/update_latest.py
index 26bff62..3ee8bfc 100644
--- a/update_latest.py
+++ b/update_latest.py
@@ -38,7 +38,7 @@ for f, t in sorted(updates.items(),
key=lambda x: x[1],
reverse=True)[:10]:
#print(f, ctime(t), sep="\t")
- if f != "latest.html":
+ if "latest.html" not in f:
print(f"\t<li><a href=/{f}>{f.split()[-1]}</a> - Published: {date.fromtimestamp(t)}</li>")
print("</ul>")