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,))
|
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…
Reference in New Issue
Block a user