anton-l HF staff commited on
Commit
cc01d90
β€’
1 Parent(s): e7e3479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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").collectall()
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: