[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [depictor/master] Make the historical database available for download
commit de52f15c1cbfbfd7cd54c88787a00f3762c8320c
Author: Tom Ritter <tom@xxxxxxxxx>
Date: Sat Oct 15 21:35:17 2016 -0400
Make the historical database available for download
---
write_website.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/write_website.py b/write_website.py
index 87863d6..ddb5a47 100755
--- a/write_website.py
+++ b/write_website.py
@@ -145,6 +145,8 @@ def main():
#subprocess.call(["gzip", "-9", archived])
#subprocess.call(["ln", "-s", archived + ".gz", archived])
+ subprocess.call(["cp", os.path.join('data', 'historical.db'), os.path.join('out', 'historical.db')])
+
# remove old files
weeks_to_keep = 3
files = [f for f in os.listdir(os.path.join(os.path.dirname(__file__), 'out'))]
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits