Browse Source

Merge pull request #2924 from SomberNight/py3_exchange_rate

python3: exchange_rate.py
master
ThomasV 8 years ago committed by GitHub
parent
commit
f6178c7314
  1. 2
      lib/exchange_rate.py

2
lib/exchange_rate.py

@ -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…
Cancel
Save