mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
fix #1132
This commit is contained in:
parent
eb9802356a
commit
44d076fbc4
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,6 @@ def process_request(amount, confirmations, expires_in, password):
|
||||||
def do_dump(password):
|
def do_dump(password):
|
||||||
if password != my_password:
|
if password != my_password:
|
||||||
return "wrong password"
|
return "wrong password"
|
||||||
|
|
||||||
conn = sqlite3.connect(database);
|
conn = sqlite3.connect(database);
|
||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
# read pending requests from table
|
# read pending requests from table
|
||||||
|
@ -144,6 +143,8 @@ def do_dump(password):
|
||||||
|
|
||||||
|
|
||||||
def getrequest(oid, password):
|
def getrequest(oid, password):
|
||||||
|
if password != my_password:
|
||||||
|
return "wrong password"
|
||||||
oid = int(oid)
|
oid = int(oid)
|
||||||
conn = sqlite3.connect(database);
|
conn = sqlite3.connect(database);
|
||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
|
|
Loading…
Add table
Reference in a new issue