Update views.py
This commit is contained in:
parent
ab6211ab97
commit
222f04f893
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ def index():
|
|||
# Get all the data
|
||||
with open_db() as db:
|
||||
user_wallets = db.fetchall("SELECT * FROM wallets WHERE user = ?", (usr,))
|
||||
user_ext = db.fetchall("SELECT * FROM extensions WHERE user = ?", (usr,))
|
||||
user_ext = db.fetchall("SELECT extension FROM extensions WHERE user = ? AND active = 1", (usr,))
|
||||
user_ext = [v[0] for v in user_ext]
|
||||
|
||||
with open_ext_db("events") as events_ext_db:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue