fix syntax error in exchange rate plugin
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user