Merge pull request #2924 from SomberNight/py3_exchange_rate
python3: exchange_rate.py
This commit is contained in:
commit
f6178c7314
|
@ -90,7 +90,7 @@ class ExchangeBase(PrintError):
|
|||
|
||||
def get_currencies(self):
|
||||
rates = self.get_rates('')
|
||||
return sorted([str(a) for (a, b) in rates.iteritems() if b is not None and len(a)==3])
|
||||
return sorted([str(a) for (a, b) in rates.items() if b is not None and len(a)==3])
|
||||
|
||||
|
||||
class BitcoinAverage(ExchangeBase):
|
||||
|
|
Loading…
Reference in New Issue