Fix currency type for bitcoinvenezuela history

update exchange rate history for bitcoinvenezuela exchange
This commit is contained in:
wozz 2014-11-23 14:41:20 -05:00
parent 4ecaa636fd
commit 29cf811858
1 changed files with 1 additions and 1 deletions

View File

@ -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")