Merge pull request #4584 from withshubh/develop

fix: code quality issues
This commit is contained in:
Matthias
2021-04-02 15:19:49 +02:00
committed by GitHub
8 changed files with 11 additions and 21 deletions

View File

@@ -177,7 +177,7 @@ def start_list_markets(args: Dict[str, Any], pairs_only: bool = False) -> None:
# human-readable formats.
print()
if len(pairs):
if pairs:
if args.get('print_list', False):
# print data as a list, with human-readable summary
print(f"{summary_str}: {', '.join(pairs.keys())}.")