Skip to content
Snippets Groups Projects
Commit 5e596b71 authored by Matt Traudt's avatar Matt Traudt
Browse files

Add docstring in generator_started_from_file()

parent 6008858a
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,10 @@ class V3BWHeader(object):
@staticmethod
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']
......
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