tshow error if cannot import plot module - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 662577aea6557858320504b6670cae35df48eda6 DIR parent e6aac9ea9902abb9285283ca6709296d422453bf HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 30 Dec 2016 10:36:14 +0100 show error if cannot import plot module Diffstat: M gui/qt/main_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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()