mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
init_plugins only for gui
This commit is contained in:
parent
aec114064d
commit
484cd3983b
1 changed files with 1 additions and 1 deletions
2
electrum
2
electrum
|
@ -174,7 +174,6 @@ if __name__ == '__main__':
|
|||
set_verbosity(config_options.get('verbose'))
|
||||
|
||||
config = SimpleConfig(config_options)
|
||||
init_plugins(config)
|
||||
|
||||
if len(args) == 0:
|
||||
url = None
|
||||
|
@ -186,6 +185,7 @@ if __name__ == '__main__':
|
|||
cmd = args[0]
|
||||
|
||||
if cmd == 'gui':
|
||||
init_plugins(config)
|
||||
gui_name = config.get('gui', 'classic')
|
||||
if gui_name in ['lite', 'classic']:
|
||||
gui_name = 'qt'
|
||||
|
|
Loading…
Add table
Reference in a new issue