From 0338257d0179aba49dbc774a1144883c527b82ba Mon Sep 17 00:00:00 2001 From: mjfernez Date: Wed, 13 Dec 2023 20:33:34 -0500 Subject: Fix latest so it doesn't list itself --- update_latest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update_latest.py') 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
  • {f.split()[-1]} - Published: {date.fromtimestamp(t)}
  • ") print("") -- cgit v1.2.3