Update __init__.py
This commit is contained in:
parent
3c498b3eae
commit
a5e64bd831
|
@ -491,7 +491,7 @@ def withdraw():
|
|||
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
|
||||
faudel = request.args.get("del")
|
||||
faudel = request.args.get("del")
|
||||
if faudel:
|
||||
Faudb.execute("DELETE FROM withdraws WHERE uni = ?", (faudel,))
|
||||
user_fau = Faudb.fetchall("SELECT * FROM withdraws WHERE usr = ?", (usr,))
|
||||
|
|
Loading…
Reference in New Issue
Block a user