harmdevries commited on
Commit
cdf8250
·
1 Parent(s): 54cd6c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -30,7 +30,11 @@ for name, repo_name in name2repo:
30
  for line in milestone.description.split('\n'):
31
  tmp = line.split(":")
32
  if len(tmp) > 1:
33
- desc[tmp[0].lower()] = tmp[1].lower().strip()
 
 
 
 
34
  task_name = f"""<a href="https://www.github.com/{repo_name}/milestone/{milestone.number}", target="_black">{milestone.title}</a>"""
35
  if desc['status'] not in all_status:
36
  all_status.append(desc['status'])
 
30
  for line in milestone.description.split('\n'):
31
  tmp = line.split(":")
32
  if len(tmp) > 1:
33
+ key = tmp[0].lower()
34
+ value = tmp[1].strip()
35
+ if key == 'status':
36
+ value = value.lower()
37
+ desc[key] = value
38
  task_name = f"""<a href="https://www.github.com/{repo_name}/milestone/{milestone.number}", target="_black">{milestone.title}</a>"""
39
  if desc['status'] not in all_status:
40
  all_status.append(desc['status'])