This commit is contained in:
ThomasV 2015-04-09 19:01:22 +02:00
parent eb9802356a
commit 44d076fbc4
1 changed files with 2 additions and 1 deletions

View File

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