electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 1ab327d3f691f8da00f72c14aac0e3ec7970da12
parent 25bf63e528ace50717316a7388e34b4b3b758e50
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 12 Feb 2016 10:01:35 +0100

fix exchange rate plugin: datetime.today

Diffstat:
Mplugins/exchange_rate/qt.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/exchange_rate/qt.py b/plugins/exchange_rate/qt.py @@ -1,3 +1,4 @@ +import time from PyQt4.QtGui import * from PyQt4.QtCore import * from electrum_gui.qt.util import * @@ -209,7 +210,7 @@ class Plugin(FxPlugin, QObject): return tx_hash, conf, value, timestamp, balance = tx if conf <= 0: - date = datetime.today() + date = timestamp_to_datetime(time.time()) else: date = timestamp_to_datetime(timestamp) for amount in [value, balance]: