summaryrefslogtreecommitdiff
path: root/print-historic-results.py
diff options
context:
space:
mode:
Diffstat (limited to 'print-historic-results.py')
-rwxr-xr-xprint-historic-results.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/print-historic-results.py b/print-historic-results.py
index de7b154..c789480 100755
--- a/print-historic-results.py
+++ b/print-historic-results.py
@@ -61,7 +61,10 @@ table <= TR(TH('Date') + TH('JVM Variant') + TH('Relative performance'))
conn = sqlite3.connect(sys.argv[1])
cursor = conn.cursor()
-for row in cursor.execute("select date(datetime(timestamp, 'unixepoch', 'localtime')) as 'Date', jvm_type, elapsed_time from results order by date DESC, jvm_type"):
+for row in cursor.execute("select date(datetime(timestamp, 'unixepoch', 'localtime')) as 'Date', \ jvm_type, \
+ elapsed_time \
+ from results \
+ order by date DESC, jvm_type"):
html_row = TR()
html_row <= TD(row[0])
html_row <= TD(row[1])