fix some pylint warnings

This commit is contained in:
gcarq
2017-11-04 18:55:41 +01:00
parent a873688a44
commit 264d71e29e
3 changed files with 40 additions and 12 deletions

View File

@@ -64,7 +64,7 @@ class Bittrex(Exchange):
if not data['success']:
raise RuntimeError('{}: {}'.format(self.name.upper(), data['message']))
return data['result']
def get_ticker(self, pair: str) -> dict:
data = _API.get_ticker(pair.replace('_', '-'))
if not data['success']: