From 3f145864ef971a81b0dbbddeed90bc9839359fb9 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 13 Sep 2015 21:12:52 +0200 Subject: [PATCH] fix syntax error in exchange rate plugin --- plugins/exchange_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/exchange_rate.py b/plugins/exchange_rate.py index b5a29469..0d55979f 100644 --- 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)