Skip to content

Commit

Permalink
Print empty line separator in case of human-readable formats (list an…
Browse files Browse the repository at this point in the history
…d tabular)
  • Loading branch information
hroff-1902 committed Oct 20, 2019
1 parent 5e731ec commit d6b6ded
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions freqtrade/utils.py
Expand Up @@ -179,7 +179,13 @@ def start_list_markets(args: Dict[str, Any], pairs_only: bool = False) -> None:
if (args.get('print_one_column', False) or
args.get('list_pairs_print_json', False) or
args.get('print_csv', False)):
# Print summary string in the log in case of machine-readable
# regular formats.
logger.info(f"{summary_str}.")
else:
# Print empty string separating leading logs and output in case of
# human-readable formats.
print()

if len(pairs):
if args.get('print_list', False):
Expand Down

0 comments on commit d6b6ded

Please sign in to comment.