Skip to content
Snippets Groups Projects
Commit 4f85f2ad authored by juga's avatar juga
Browse files

Store the earlier result to add it to the header

parent 29a31097
No related branches found
No related tags found
No related merge requests found
......@@ -112,6 +112,7 @@ def main(args, conf):
fresh_days = conf.getint('general', 'data_period')
results = load_recent_results_in_datadir(
fresh_days, datadir, success_only=True)
earlier_result_ts = min([r.time for r in results])
if len(results) < 1:
log.warning('No recent results, so not generating anything. (Have you '
'ran sbws scanner recently?)')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment