python3: exchange_rate.py

This commit is contained in:
SomberNight 2017-09-24 02:53:17 +02:00
parent e99c2e8dfd
commit 48eab8f286
1 changed files with 1 additions and 1 deletions

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