tFix currency type for bitcoinvenezuela history - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 29cf811858a491056f8f05b0ab22b94033f894cf DIR parent 4ecaa636fd7ab8e2392b0e6f4cbbc66bab8d88bb HTML Author: wozz <wozz@users.noreply.github.com> Date: Sun, 23 Nov 2014 14:41:20 -0500 Fix currency type for bitcoinvenezuela history update exchange rate history for bitcoinvenezuela exchange Diffstat: M plugins/exchange_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py t@@ -506,7 +506,7 @@ class Plugin(BasePlugin): tx_time_str = datetime.datetime.fromtimestamp(tx_time).strftime('%Y-%m-%d') try: num = self.resp_hist[tx_time_str].replace(',','') - tx_fiat_val = "%.2f %s" % (Decimal(str(tx_info['value'])) / 100000000 * Decimal(num), cur_currency) + tx_fiat_val = "%.2f %s" % (Decimal(str(tx_info['value'])) / 100000000 * Decimal(num), self.fiat_unit()) except KeyError: tx_fiat_val = _("No data")