tandroid: fix make_new_contacts - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 48838be816fc897a8687e95e6f86d8c40e5a9bfc DIR parent 6693a70c72dc90ef3610b1826f22159de3aa9b21 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 25 Feb 2015 15:51:04 +0100 android: fix make_new_contacts Diffstat: M gui/android.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/android.py b/gui/android.py t@@ -478,7 +478,7 @@ def make_new_contact(): code = droid.scanBarcode() r = code.result if r: - data = r['extras']['SCAN_RESULT'] + data = str(r['extras']['SCAN_RESULT']).strip() if data: if re.match('^bitcoin:', data): address, _, _, _, _ = util.parse_URI(data)