Commit 003c0a2b authored by juga's avatar juga
Browse files

Include version in v3bw file. Closes #52

parent 3a500499
from sbws import version
from sbws.globals import (fail_hard, is_initted)
from sbws.lib.resultdump import ResultSuccess
from sbws.lib.resultdump import load_recent_results_in_datadir
......@@ -113,5 +114,6 @@ def main(args, conf, log_):
log_stats(data_lines)
with open(args.output, 'wt') as fd:
fd.write('{}\n'.format(int(time.time())))
fd.write('version={}\n'.format(version))
for line in data_lines:
fd.write('{}\n'.format(str(line)))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment