diff --git a/lib/exchange_rate.py b/lib/exchange_rate.py index 27e8a00c8..4442e7aec 100644 --- a/lib/exchange_rate.py +++ b/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):