Set default exchange to Blockchain.info
authorMichael Wozniak <github@koh.ms>
Sun, 2 Mar 2014 17:37:14 +0000 (12:37 -0500)
committerMichael Wozniak <github@koh.ms>
Sun, 2 Mar 2014 17:37:14 +0000 (12:37 -0500)
set default exchange to Blockchain.info, which will force the config to
be updated if the exchange is changed.

plugins/exchange_rate.py

index c11dfe7..e8e1970 100644 (file)
@@ -192,7 +192,7 @@ class Plugin(BasePlugin):
 
         def on_change_ex(x):
             cur_request = str(self.exchanges[x])
-            if cur_request != self.config.get('use_exchange', "CoinDesk"):
+            if cur_request != self.config.get('use_exchange', "Blockchain"):
                 self.config.set_key('use_exchange', cur_request, True)
                 self.win.update_status()