Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
036cc7f2
Commit
036cc7f2
authored
Aug 02, 2018
by
juga
Committed by
Matt Traudt
Aug 03, 2018
Browse files
Replace conf['paths'] by conf.getpath('paths'
parent
3a4b2c0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
036cc7f2
...
...
@@ -194,7 +194,7 @@ class V3BWHeader(object):
ISO formatted timestamp for the time when the scanner process most
recently started.
'''
state
=
State
(
conf
[
'paths'
][
'state_fname'
]
)
state
=
State
(
conf
.
getpath
(
'paths'
,
'state_fname'
)
)
if
'scanner_started'
in
state
:
return
state
[
'scanner_started'
]
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment