whoops
This commit is contained in:
parent
6b1d11a04d
commit
413dab8094
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class DummyExchangeRateManager(object):
|
||||||
def __init__(self, rates):
|
def __init__(self, rates):
|
||||||
self.market_feeds = [DummyBTCLBCFeed(), DummyUSDBTCFeed()]
|
self.market_feeds = [DummyBTCLBCFeed(), DummyUSDBTCFeed()]
|
||||||
for feed in self.market_feeds:
|
for feed in self.market_feeds:
|
||||||
feed.rate = ExchangeRate(feed, rates[feed]['spot'], rates[feed]['ts'])
|
feed.rate = ExchangeRate(feed, rates[feed.market]['spot'], rates[feed.market]['ts'])
|
||||||
|
|
||||||
def convert_currency(self, from_currency, to_currency, amount):
|
def convert_currency(self, from_currency, to_currency, amount):
|
||||||
log.info("Converting %f %s to %s" % (amount, from_currency, to_currency))
|
log.info("Converting %f %s to %s" % (amount, from_currency, to_currency))
|
||||||
|
|
Loading…
Reference in a new issue