From 182cc251fc4ea10c1e80ff20a03a1d2fc6ed4887 Mon Sep 17 00:00:00 2001 From: zscholl Date: Wed, 20 Feb 2019 15:14:50 -0700 Subject: [PATCH] fix another pep8. fix default param issue --- parsedmarc/cli.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/parsedmarc/cli.py b/parsedmarc/cli.py index 401a7d7..33331e3 100644 --- a/parsedmarc/cli.py +++ b/parsedmarc/cli.py @@ -205,7 +205,9 @@ def _main(): smtp_to=[], smtp_subject="parsedmarc report", smtp_message="Please see the attached DMARC results.", - log_file=args.log_file + log_file=args.log_file, + n_procs=1, + chunksize=1 ) args = arg_parser.parse_args() @@ -398,7 +400,8 @@ def _main(): repeat(opts.strip_attachment_payloads), repeat(opts.nameservers), repeat(opts.dns_timeout), - repeat(opts.n_procs >= 1)), opts.chunksize) + repeat(opts.n_procs >= 1)), + opts.chunksize) pbar = tqdm(total=len(file_paths)) while not results.ready(): pbar.update(counter.value - pbar.n)