From 48eab8f2868b1c34ab7fd0466f885fd64ac1524e Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 24 Sep 2017 02:53:17 +0200 Subject: [PATCH] python3: exchange_rate.py --- lib/exchange_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/exchange_rate.py b/lib/exchange_rate.py index 27e8a00c..4442e7ae 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):