fix syntax error in exchange rate plugin
This commit is contained in:
parent
22788e9ab0
commit
3f145864ef
|
@ -446,7 +446,7 @@ class Plugin(BasePlugin, ThreadJob):
|
||||||
tx_hash, conf, value, timestamp, balance = tx
|
tx_hash, conf, value, timestamp, balance = tx
|
||||||
if conf <= 0:
|
if conf <= 0:
|
||||||
date = datetime.today()
|
date = datetime.today()
|
||||||
else
|
else:
|
||||||
date = timestamp_to_datetime(timestamp)
|
date = timestamp_to_datetime(timestamp)
|
||||||
for amount in [value, balance]:
|
for amount in [value, balance]:
|
||||||
text = self.historical_value_str(amount, date)
|
text = self.historical_value_str(amount, date)
|
||||||
|
|
Loading…
Reference in New Issue