tExchangeBase is not an exchange - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 76465aa6bdb6465404ad4adf5cd561771decbe62 DIR parent 9e0e54157efac578439f0aa42c37f53f2d3a35c5 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sat, 5 Sep 2015 23:05:34 +0900 ExchangeBase is not an exchange Diffstat: M plugins/exchange_rate.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py t@@ -193,7 +193,8 @@ class Plugin(BasePlugin, ThreadJob): self.hist_checkbox = None is_exchange = lambda obj: (inspect.isclass(obj) - and issubclass(obj, ExchangeBase)) + and issubclass(obj, ExchangeBase) + and obj != ExchangeBase) self.exchanges = dict(inspect.getmembers(sys.modules[__name__], is_exchange)) self.set_exchange(self.config_exchange())