fix #1132
This commit is contained in:
parent
eb9802356a
commit
44d076fbc4
|
@ -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…
Reference in New Issue