electrum

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

commit 105101bb5c10072fffcead00ecd474bea2cb1a1e
parent 219c2a363ae59c33489e3e641653be5fdad02f15
Author: SomberNight <somber.night@protonmail.com>
Date:   Mon,  4 Jun 2018 17:07:50 +0200

fix #4403

Diffstat:
Mplugins/revealer/qt.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/revealer/qt.py b/plugins/revealer/qt.py @@ -21,6 +21,7 @@ import random import qrcode import traceback from hashlib import sha256 +from decimal import Decimal from PyQt5.QtPrintSupport import QPrinter @@ -714,9 +715,9 @@ class Plugin(BasePlugin): if not d.exec_(): return - self.calibration_h = int(horizontal.text()) + self.calibration_h = int(Decimal(horizontal.text())) self.config.set_key('calibration_h', self.calibration_h) - self.calibration_v = int(vertical.text()) + self.calibration_v = int(Decimal(vertical.text())) self.config.set_key('calibration_v', self.calibration_v)