whitespace
This commit is contained in:
parent
4e29041291
commit
3dc5a9de7b
1 changed files with 7 additions and 7 deletions
|
@ -37,6 +37,7 @@ class ExchangeRate(object):
|
||||||
class MarketFeed(object):
|
class MarketFeed(object):
|
||||||
REQUESTS_TIMEOUT = 20
|
REQUESTS_TIMEOUT = 20
|
||||||
EXCHANGE_RATE_UPDATE_RATE_SEC = 300
|
EXCHANGE_RATE_UPDATE_RATE_SEC = 300
|
||||||
|
|
||||||
def __init__(self, market, name, url, params, fee):
|
def __init__(self, market, name, url, params, fee):
|
||||||
self.market = market
|
self.market = market
|
||||||
self.name = name
|
self.name = name
|
||||||
|
@ -180,7 +181,6 @@ class CryptonatorBTCFeed(MarketFeed):
|
||||||
return defer.succeed(float(json_response['ticker']['price']))
|
return defer.succeed(float(json_response['ticker']['price']))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class CryptonatorFeed(MarketFeed):
|
class CryptonatorFeed(MarketFeed):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
MarketFeed.__init__(
|
MarketFeed.__init__(
|
||||||
|
|
Loading…
Reference in a new issue