tMerge pull request #2924 from SomberNight/py3_exchange_rate - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit f6178c731403dd2c463396d0b59501506dbfb617
DIR parent e99c2e8dfdad64ee8af7e798ff75195e0aba714c
HTML Author: ThomasV <thomasv@electrum.org>
Date: Sun, 24 Sep 2017 09:27:25 +0200
Merge pull request #2924 from SomberNight/py3_exchange_rate
python3: exchange_rate.py
Diffstat:
M lib/exchange_rate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/exchange_rate.py b/lib/exchange_rate.py
t@@ -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):