Update __init__.py

This commit is contained in:
Arc 2020-02-23 00:42:22 +00:00 committed by GitHub
parent b35872c751
commit 15de047bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,9 +261,12 @@ def wallet():
""",
(wallet_id,),
)
user_ext = db.fetchall("SELECT extension FROM extensions WHERE user = ? AND active = 1", (usr,))
user_ext = [v[0] for v in user_ext]
return render_template(
"wallet.html", user_wallets=user_wallets, wallet=wallet, user=usr, transactions=transactions,
"wallet.html", user_wallets=user_wallets, wallet=wallet, user=usr, transactions=transactions, user_ext=user_ext
)