1
0

gui init: raise GuiImportError instead of sys.exit if dep is missing

This commit is contained in:
SomberNight
2022-04-11 16:53:25 +02:00
parent 8e234f3ccd
commit 419fc6e1c1
4 changed files with 20 additions and 6 deletions

View File

@@ -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