mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-04-04 20:58:53 +00:00
fix another pep8. fix default param issue
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user