electrum

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

commit 58c302a4cf9fcd1fcef5b8f0976d33f1c98cddf2
parent 6f3c9e6a447ef76b3a63d7eeac167a392ed71940
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 13 Jun 2014 16:08:46 +0200

minor fixes

Diffstat:
Mgui/qt/main_window.py | 2++
Mlib/util.py | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -980,6 +980,8 @@ class ElectrumWindow(QMainWindow): self.payment_request = None def pay_from_URI(self,URI): + if not URI: + return address, amount, label, message, request_url = util.parse_URI(URI) try: address, amount, label, message, request_url = util.parse_URI(URI) diff --git a/lib/util.py b/lib/util.py @@ -163,7 +163,7 @@ def parse_URI(uri): from decimal import Decimal if ':' not in uri: - assert bitcoin.is_address(url) + assert bitcoin.is_address(uri) return uri, None, None, None, None u = urlparse.urlparse(uri)