electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 662577aea6557858320504b6670cae35df48eda6
parent e6aac9ea9902abb9285283ca6709296d422453bf
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 30 Dec 2016 10:36:14 +0100

show error if cannot import plot module

Diffstat:
Mgui/qt/main_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -2121,7 +2121,8 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): def plot_history_dialog(self): try: from electrum.plot import plot_history - except: + except ImportError as e: + self.show_error(str(e)) return wallet = self.wallet history = wallet.get_history()