tfix #1132 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 44d076fbc4552ffe7ceb2bc4f3904ebec527a27b DIR parent eb9802356a64743daf067c2cd9593cb7bd6eb2b1 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 9 Apr 2015 19:01:22 +0200 fix #1132 Diffstat: M scripts/merchant/merchant.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/scripts/merchant/merchant.py b/scripts/merchant/merchant.py t@@ -134,7 +134,6 @@ def process_request(amount, confirmations, expires_in, password): def do_dump(password): if password != my_password: return "wrong password" - conn = sqlite3.connect(database); cur = conn.cursor() # read pending requests from table t@@ -144,6 +143,8 @@ def do_dump(password): def getrequest(oid, password): + if password != my_password: + return "wrong password" oid = int(oid) conn = sqlite3.connect(database); cur = conn.cursor()