tset daemon thread - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 69a4ef9d103a984d9a47d4f46a487e8254b1e247 DIR parent 683177705884124dc4a42f458d7afb08f94ca8e8 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 21 Apr 2015 12:39:59 +0200 set daemon thread Diffstat: M plugins/labels.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/plugins/labels.py b/plugins/labels.py t@@ -102,6 +102,7 @@ class Plugin(BasePlugin): return bundle = {"walletId": self.wallet_id, "walletNonce": self.wallet.storage.get("wallet_nonce"), "externalId": self.encode(item), "encryptedLabel": self.encode(label)} t = threading.Thread(target=self.do_request, args=["POST", "/label", False, bundle]) + t.setDaemon(True) t.start() self.set_nonce(self.wallet.storage.get("wallet_nonce") + 1)