gui init: raise GuiImportError instead of sys.exit if dep is missing
This commit is contained in:
@@ -11,6 +11,10 @@ if is_local and os.name == 'nt':
|
||||
os.add_dll_directory(os.path.dirname(__file__))
|
||||
|
||||
|
||||
class GuiImportError(ImportError):
|
||||
pass
|
||||
|
||||
|
||||
from .version import ELECTRUM_VERSION
|
||||
from .util import format_satoshis
|
||||
from .wallet import Wallet
|
||||
|
||||
Reference in New Issue
Block a user