one more
This commit is contained in:
parent
413dab8094
commit
52c20f02c7
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.market]['spot'], rates[feed.market]['ts'])
|
feed.rate = ExchangeRate(feed.market, 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