tminor fix FX plugin - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7a060e86b277b88f23c9050866a65ce955c862d3 DIR parent a6f28f5d1221f216e7e6423304838cdfedecf659 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 17 Oct 2015 12:46:05 +0200 minor fix FX plugin Diffstat: M gui/qt/main_window.py | 2 +- M plugins/exchange_rate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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") DIR diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py t@@ -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():