From dd6fd469132fc470b29f26cee3838db46cc173c9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 23 Apr 2015 17:43:18 +0200 Subject: [PATCH] set daemon thread in exchange rates plugin --- plugins/exchange_rate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py index 7ce14c086..b84576719 100644 --- a/plugins/exchange_rate.py +++ b/plugins/exchange_rate.py @@ -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):