mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
show error if cannot import plot module
This commit is contained in:
parent
e6aac9ea99
commit
662577aea6
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue