commit 3f145864ef971a81b0dbbddeed90bc9839359fb9
parent 22788e9ab0769a148aac608553fb99d1aea7662d
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 13 Sep 2015 21:12:52 +0200
fix syntax error in exchange rate plugin
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py
@@ -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)