From 69a4ef9d103a984d9a47d4f46a487e8254b1e247 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 21 Apr 2015 12:39:59 +0200 Subject: [PATCH] set daemon thread --- plugins/labels.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/labels.py b/plugins/labels.py index 027dc25b2..fcdef4c3b 100644 --- a/plugins/labels.py +++ b/plugins/labels.py @@ -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)