commit 14a2d956e8d61fa83d9671b4e0e9da5280ff62a7 Author: juga0 juga@riseup.net Date: Wed Jul 18 19:50:37 2018 +0000
Remove is_innited dependency --- sbws/core/generate.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sbws/core/generate.py b/sbws/core/generate.py index 481529c..f345f11 100644 --- a/sbws/core/generate.py +++ b/sbws/core/generate.py @@ -1,4 +1,4 @@ -from sbws.globals import (fail_hard, is_initted, SCALE_CONSTANT) +from sbws.globals import (fail_hard, SCALE_CONSTANT) from sbws.lib.v3bwfile import V3BWFile from sbws.lib.resultdump import load_recent_results_in_datadir from argparse import ArgumentDefaultsHelpFormatter @@ -39,9 +39,6 @@ def gen_parser(sub):
def main(args, conf): - if not is_initted(args.directory): - fail_hard('Sbws isn't initialized. Try sbws init') - os.makedirs(conf['paths']['v3bw_dname'], exist_ok=True)
datadir = conf['paths']['datadir']
tor-commits@lists.torproject.org