tset daemon thread in exchange rates plugin - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit dd6fd469132fc470b29f26cee3838db46cc173c9
DIR parent b9537b08853421e490880de794eb1dc429875fb1
HTML Author: ThomasV <thomasv@gitorious>
Date: Thu, 23 Apr 2015 17:43:18 +0200
set daemon thread in exchange rates plugin
Diffstat:
M plugins/exchange_rate.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
DIR diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
t@@ -506,7 +506,9 @@ class Plugin(BasePlugin):
self.tx_list = tx_list
self.cur_exchange = self.config.get('use_exchange', "Blockchain")
- threading.Thread(target=self.request_history_rates, args=()).start()
+ t = threading.Thread(target=self.request_history_rates, args=())
+ t.setDaemon(True)
+ t.start()
def requires_settings(self):