commit 7285622aede106c268159642efa4519bdc0b7107 Author: Tom Ritter tom@ritter.vg Date: Sun Dec 7 20:27:59 2014 -0500
Typo in last commit, this reads from the output directory also --- website.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/website.py b/website.py index 812a07b..7b88fb8 100755 --- a/website.py +++ b/website.py @@ -6,6 +6,7 @@ Produces an HTML file for easily viewing voting and consensus differences Ported from Java version Doctor """
+import os import time import operator import datetime @@ -580,7 +581,7 @@ class WebsiteWriter: """ Write some download statistics. """ - f = open('download-stats.csv', 'r') + f = open(os.path.join('out', 'download-stats.csv'), 'r') lines = f.readlines() f.close()
tor-commits@lists.torproject.org