[tor-commits] [sbws/master] Remove is_innited dependency
pastly at torproject.org
pastly at torproject.org
Thu Aug 9 14:21:20 UTC 2018
commit 88e1f05cf45d4d7bc98a023aa468bde346a98eff
Author: juga0 <juga at riseup.net>
Date: Wed Jul 18 19:51:57 2018 +0000
Remove is_innited dependency
---
sbws/core/stats.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sbws/core/stats.py b/sbws/core/stats.py
index 2b497ce..38f8978 100644
--- a/sbws/core/stats.py
+++ b/sbws/core/stats.py
@@ -1,4 +1,4 @@
-from sbws.globals import (fail_hard, is_initted)
+from sbws.globals import fail_hard
from sbws.lib.resultdump import Result
from sbws.lib.resultdump import ResultError
from sbws.lib.resultdump import ResultErrorCircuit
@@ -155,8 +155,6 @@ def main(args, conf):
:param argparse.Namespace args: command line arguments
:param configparser.ConfigParser conf: parsed config files
'''
- if not is_initted(args.directory):
- fail_hard('Sbws isn\'t initialized. Try sbws init')
datadir = conf['paths']['datadir']
if not os.path.isdir(datadir):
More information about the tor-commits
mailing list