commit 036cc7f239a4605126cb3311e2cbfa2efc52dbcc Author: juga0 juga@riseup.net Date: Thu Aug 2 17:45:48 2018 +0000
Replace conf['paths'] by conf.getpath('paths' --- sbws/lib/v3bwfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py index 620cdb8..ad3e2e2 100644 --- a/sbws/lib/v3bwfile.py +++ b/sbws/lib/v3bwfile.py @@ -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:
tor-commits@lists.torproject.org