Spaces:
Sleeping
Sleeping
harmdevries
commited on
Commit
·
cdf8250
1
Parent(s):
54cd6c8
Update app.py
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
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'])
|