Commit 036cc7f2 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Replace conf['paths'] by conf.getpath('paths'

parent 3a4b2c0e
...@@ -194,7 +194,7 @@ class V3BWHeader(object): ...@@ -194,7 +194,7 @@ class V3BWHeader(object):
ISO formatted timestamp for the time when the scanner process most ISO formatted timestamp for the time when the scanner process most
recently started. recently started.
''' '''
state = State(conf['paths']['state_fname']) state = State(conf.getpath('paths', 'state_fname'))
if 'scanner_started' in state: if 'scanner_started' in state:
return state['scanner_started'] return state['scanner_started']
else: else:
......
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