[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [depictor] branch master updated: Fix a dumb bug I should have noticed before committing
This is an automated email from the git hooks/post-receive script.
tom pushed a commit to branch master
in repository depictor.
The following commit(s) were added to refs/heads/master by this push:
new 3608070 Fix a dumb bug I should have noticed before committing
3608070 is described below
commit 3608070a84ee1c4cf39d4b0f1362a3f3c2d99a5f
Author: Tom Ritter <tom@xxxxxxxxx>
AuthorDate: Wed Feb 8 11:15:34 2023 -0500
Fix a dumb bug I should have noticed before committing
---
write_website.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/write_website.py b/write_website.py
index a4730f6..59e757a 100755
--- a/write_website.py
+++ b/write_website.py
@@ -101,8 +101,8 @@ def main():
if ut_to_datetime(d) in [expected_0, expected_1]:
pass
else:
- print("We seem to be missing", consensus_datetime_format(expected))
- dbc.execute("INSERT OR REPLACE INTO " + tbl + "(date) VALUES (?)", (unix_time(expected),))
+ print("We seem to be missing", consensus_datetime_format(expected_1))
+ dbc.execute("INSERT OR REPLACE INTO " + tbl + "(date) VALUES (?)", (unix_time(expected_1),))
dbc.commit()
previous = d
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits