Commit 5e596b71 authored by Matt Traudt's avatar Matt Traudt
Browse files

Add docstring in generator_started_from_file()

parent 6008858a
......@@ -190,6 +190,10 @@ class V3BWHeader(object):
def generator_started_from_file(conf):
ISO formatted timestamp for the time when the scanner process most
recently started.
state = State(conf['paths']['state_fname'])
if 'scanner_started' in state:
return state['scanner_started']
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