Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -293,7 +293,7 @@ if st.session_state.username == "admin":
|
|
| 293 |
if target_u:
|
| 294 |
conn = db.get_connection()
|
| 295 |
c = conn.cursor()
|
| 296 |
-
c.execute("SELECT gemini_key, tavily_key, email_user, email_pass_enc FROM users WHERE username=
|
| 297 |
curr = c.fetchone()
|
| 298 |
conn.close()
|
| 299 |
|
|
|
|
| 293 |
if target_u:
|
| 294 |
conn = db.get_connection()
|
| 295 |
c = conn.cursor()
|
| 296 |
+
c.execute("SELECT gemini_key, tavily_key, email_user, email_pass_enc FROM users WHERE username=%s", (target_u,))
|
| 297 |
curr = c.fetchone()
|
| 298 |
conn.close()
|
| 299 |
|