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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,6 +19,7 @@ for version in versions:
19
  with gzip.open(filepath, 'r') as f:
20
  data = json.load(f)
21
  for username, repos in data.items():
 
22
  for repo in repos:
23
  if repo not in usernames[username]:
24
  usernames[username][repo] = []
@@ -77,6 +78,7 @@ def issue_url(username, repos):
77
  return opt_out_text
78
 
79
  def check_username(username, version):
 
80
  output_md = ""
81
  repos = []
82
  if username in usernames:
 
19
  with gzip.open(filepath, 'r') as f:
20
  data = json.load(f)
21
  for username, repos in data.items():
22
+ username = username.lower()
23
  for repo in repos:
24
  if repo not in usernames[username]:
25
  usernames[username][repo] = []
 
78
  return opt_out_text
79
 
80
  def check_username(username, version):
81
+ username = username.lower()
82
  output_md = ""
83
  repos = []
84
  if username in usernames: