tsimplify Plugins constructor - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit c4e09fa8743b3f2ec01dfd50b9447f9c65636f74 DIR parent 81cc20039ea5d45204c00b75b283ea877029fbb0 HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 22 Oct 2018 18:21:38 +0200 simplify Plugins constructor Diffstat: M electrum/plugin.py | 2 +- M electrum/tests/test_storage_upgradā¦ | 2 +- M run_electrum | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/electrum/plugin.py b/electrum/plugin.py t@@ -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__) DIR diff --git a/electrum/tests/test_storage_upgrade.py b/electrum/tests/test_storage_upgrade.py t@@ -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): DIR diff --git a/run_electrum b/run_electrum t@@ -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__':