1
0

Merge pull request #2924 from SomberNight/py3_exchange_rate

python3: exchange_rate.py
This commit is contained in:
ThomasV
2017-09-24 09:27:25 +02:00
committed by GitHub

View File

@@ -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):