PEP8, remove unused imports

This commit is contained in:
enenn
2018-02-04 14:16:11 +01:00
parent 1b57c6e8a5
commit 567f252eae
5 changed files with 14 additions and 18 deletions

View File

@@ -468,7 +468,7 @@ def gen_pair_whitelist(base_currency: str, key: str = 'BaseVolume') -> List[str]
:param key: sort key (defaults to 'BaseVolume')
:return: List of pairs
"""
pairs = sorted(
[s['symbol'] for s in exchange.get_markets() if s['quote'] == base_currency],
reverse=True