ThomasV 10 years ago
parent
commit
44d076fbc4
  1. 3
      scripts/merchant/merchant.py

3
scripts/merchant/merchant.py

@ -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
@ -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()

Loading…
Cancel
Save