[tor-commits] [depictor] branch master updated: Fix a dumb bug I should have noticed before committing

gitolite role git at cupani.torproject.org
Wed Feb 8 16:15:44 UTC 2023


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 at ritter.vg>
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.


More information about the tor-commits mailing list