Commit c1cbe4ab authored by juga's avatar juga
Browse files

Add attr to store when scanner started

parent 7fbba170
...@@ -29,6 +29,9 @@ class V3BwHeader(object): ...@@ -29,6 +29,9 @@ class V3BwHeader(object):
self.software_version = software_version self.software_version = software_version
if kwargs.get('earlier_result_ts'): if kwargs.get('earlier_result_ts'):
self.earlier_result = kwargs['earlier_result_ts'] self.earlier_result = kwargs['earlier_result_ts']
if kwargs.get('scanner_started_ts'):
self.scanner_started = kwargs['scanner_started_ts']
def __str__(self): def __str__(self):
"""Return header string following spec version 1.1.0.""" """Return header string following spec version 1.1.0."""
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