[tor-commits] [sbws/master] Fix a missed conf['path'] -> conf.getpath() transition
pastly at torproject.org
pastly at torproject.org
Wed Sep 5 19:44:54 UTC 2018
commit 43812bed068fd1933022ccae8e83d67f9e84cb1e
Author: Matt Traudt <sirmatt at ksu.edu>
Date: Tue Aug 28 14:18:59 2018 -0400
Fix a missed conf['path'] -> conf.getpath() transition
---
sbws/core/scanner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/core/scanner.py b/sbws/core/scanner.py
index 3e24d22..4e59498 100644
--- a/sbws/core/scanner.py
+++ b/sbws/core/scanner.py
@@ -379,7 +379,7 @@ def main(args, conf):
os.makedirs(conf.getpath('paths', 'datadir'), exist_ok=True)
- state = State(conf['paths']['state_fname'])
+ state = State(conf.getpath('paths', 'state_fname'))
state['scanner_started'] = now_isodt_str()
try:
More information about the tor-commits
mailing list