fix syntax error in exchange rate plugin

This commit is contained in:
ThomasV 2015-09-13 21:12:52 +02:00
parent 22788e9ab0
commit 3f145864ef
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ class Plugin(BasePlugin, ThreadJob):
tx_hash, conf, value, timestamp, balance = tx
if conf <= 0:
date = datetime.today()
else
else:
date = timestamp_to_datetime(timestamp)
for amount in [value, balance]:
text = self.historical_value_str(amount, date)