Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def issue_url(username, repos):
|
|
59 |
def check_username(username, version):
|
60 |
username = username.lower()
|
61 |
output_md = ""
|
62 |
-
repos = db.sql(f"SELECT repo FROM repos WHERE user='{username}' AND version='{version}' ORDER BY repo").
|
63 |
repos = [repo[0] for repo in repos]
|
64 |
|
65 |
if repos:
|
|
|
59 |
def check_username(username, version):
|
60 |
username = username.lower()
|
61 |
output_md = ""
|
62 |
+
repos = db.sql(f"SELECT repo FROM repos WHERE user='{username}' AND version='{version}' ORDER BY repo").fetchall()
|
63 |
repos = [repo[0] for repo in repos]
|
64 |
|
65 |
if repos:
|