diff options
-rwxr-xr-x | wumpus-hunter | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wumpus-hunter b/wumpus-hunter index 06483c0..cbc9098 100755 --- a/wumpus-hunter +++ b/wumpus-hunter @@ -604,6 +604,11 @@ def count(run_log, src, counts, stats): expl.child(EXPLANATION_HTML) body.child(expl) + timestamp = time.strftime("%Y-%m-%d %H:%M:%S %z") + p = P() + p.child(f"Total of {total} test runs. Last updated {timestamp}") + body.child(p) + date = Th() date.child("date") @@ -658,11 +663,6 @@ def count(run_log, src, counts, stats): body.child(table) - timestamp = time.strftime("%Y-%m-%d %H:%M:%S %z") - p = P() - p.child(f"Total of {total} test runs. Last updated {timestamp}") - body.child(p) - html = Html() html.child(head) html.child(body) |