SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
3 changed files with
3 additions and
3 deletions
-
electrum/plugin.py
-
electrum/tests/test_storage_upgrade.py
-
run_electrum
|
|
@ -47,7 +47,7 @@ class Plugins(DaemonThread): |
|
|
|
verbosity_filter = 'p' |
|
|
|
|
|
|
|
@profiler |
|
|
|
def __init__(self, config: SimpleConfig, is_local, gui_name): |
|
|
|
def __init__(self, config: SimpleConfig, gui_name): |
|
|
|
DaemonThread.__init__(self) |
|
|
|
self.setName('Plugins') |
|
|
|
self.pkgpath = os.path.dirname(plugins.__file__) |
|
|
|
|
|
@ -264,7 +264,7 @@ class TestStorageUpgrade(WalletTestCase): |
|
|
|
|
|
|
|
gui_name = 'cmdline' |
|
|
|
# TODO it's probably wasteful to load all plugins... only need Trezor |
|
|
|
Plugins(config, True, gui_name) |
|
|
|
Plugins(config, gui_name) |
|
|
|
|
|
|
|
@classmethod |
|
|
|
def tearDownClass(cls): |
|
|
|
|
|
@ -245,7 +245,7 @@ def run_offline_command(config, config_options, plugins): |
|
|
|
|
|
|
|
def init_plugins(config, gui_name): |
|
|
|
from electrum.plugin import Plugins |
|
|
|
return Plugins(config, is_local or is_android, gui_name) |
|
|
|
return Plugins(config, gui_name) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|