commit 4c6eb9e83572e01049893909b3f935e1092186ac Author: juga0 juga@riseup.net Date: Wed Jul 18 19:51:28 2018 +0000
Remove is_innited dependency --- sbws/core/scanner.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/sbws/core/scanner.py b/sbws/core/scanner.py index 5e98e99..f7a08d7 100644 --- a/sbws/core/scanner.py +++ b/sbws/core/scanner.py @@ -9,7 +9,7 @@ from ..lib.relayprioritizer import RelayPrioritizer from ..lib.destination import DestinationList from ..util.timestamp import now_isodt_str from ..util.state import State -from sbws.globals import (fail_hard, is_initted) +from sbws.globals import fail_hard import sbws.util.stem as stem_utils import sbws.util.requests as requests_utils from argparse import ArgumentDefaultsHelpFormatter @@ -367,9 +367,6 @@ def gen_parser(sub):
def main(args, conf): - if not is_initted(args.directory): - fail_hard('Sbws isn't initialized. Try sbws init') - if conf.getint('scanner', 'measurement_threads') < 1: fail_hard('Number of measurement threads must be larger than 1')
tor-commits@lists.torproject.org