From 7a060e86b277b88f23c9050866a65ce955c862d3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 17 Oct 2015 12:46:05 +0200 Subject: [PATCH] minor fix FX plugin --- gui/qt/main_window.py | 2 +- plugins/exchange_rate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index ffaa480f1..00aa44260 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -538,7 +538,7 @@ class ElectrumWindow(QMainWindow, PrintError): # append fiat balance and price from exchange rate plugin rate = run_hook('get_fiat_status_text', c + u + x) if rate: - text += "1 BTC~%s" % rate + text += rate icon = QIcon(":icons/status_connected.png") else: text = _("Not connected") diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py index 8e2b657da..c8a8e8ba4 100644 --- a/plugins/exchange_rate.py +++ b/plugins/exchange_rate.py @@ -425,7 +425,7 @@ class Plugin(BasePlugin, ThreadJob): @hook def get_fiat_status_text(self, btc_balance): rate = self.exchange_rate() - return _(" (No FX rate available)") if rate is None else "%s %s" % (self.value_str(COIN, rate), self.ccy) + return _(" (No FX rate available)") if rate is None else "1 BTC~%s %s" % (self.value_str(COIN, rate), self.ccy) def get_historical_rates(self): if self.show_history():