Browse Source

Update __init__.py

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
a5e64bd831
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lnbits/__init__.py

2
lnbits/__init__.py

@ -491,7 +491,7 @@ def withdraw():
user_fau = Faudb.fetchall("SELECT * FROM withdraws WHERE usr = ?", (usr,)) user_fau = Faudb.fetchall("SELECT * FROM withdraws WHERE usr = ?", (usr,))
#If del is selected by user from withdraw page, the withdraw link is to be deleted #If del is selected by user from withdraw page, the withdraw link is to be deleted
faudel = request.args.get("del") faudel = request.args.get("del")
if faudel: if faudel:
Faudb.execute("DELETE FROM withdraws WHERE uni = ?", (faudel,)) Faudb.execute("DELETE FROM withdraws WHERE uni = ?", (faudel,))
user_fau = Faudb.fetchall("SELECT * FROM withdraws WHERE usr = ?", (usr,)) user_fau = Faudb.fetchall("SELECT * FROM withdraws WHERE usr = ?", (usr,))

Loading…
Cancel
Save