1
0

log failure to import plugins or plot module

This commit is contained in:
Janus
2018-07-13 15:24:16 +02:00
parent b29c2a0abd
commit 87f6aa09df
2 changed files with 4 additions and 2 deletions

View File

@@ -29,11 +29,12 @@ import datetime
from electrum.wallet import AddTransactionException, TX_HEIGHT_LOCAL
from .util import *
from electrum.i18n import _
from electrum.util import block_explorer_URL, profiler
from electrum.util import block_explorer_URL, profiler, print_error
try:
from electrum.plot import plot_history, NothingToPlotException
except:
print_error("qt/history_list: could not import electrum.plot. This feature needs matplotlib to be installed.")
plot_history = None
# note: this list needs to be kept in sync with another in kivy