test-pairlist: remove non-JSON headline from JSON output

This commit is contained in:
Janos
2021-06-02 20:50:08 +02:00
parent 3dab58e6db
commit 80af6e43e4
2 changed files with 11 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ def start_test_pairlist(args: Dict[str, Any]) -> None:
results[curr] = pairlists.whitelist
for curr, pairlist in results.items():
if not args.get('print_one_column', False):
if not args.get('print_one_column', False) and not args.get('list_pairs_print_json', False):
print(f"Pairs for {curr}: ")
if args.get('print_one_column', False):