Spaces:
Sleeping
Sleeping
harmdevries
commited on
Commit
·
5c74948
1
Parent(s):
f56cccc
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,8 @@ for name, repo_name in name2repo:
|
|
22 |
desc = dict()
|
23 |
for line in milestone.description.split('\n'):
|
24 |
tmp = line.split(":")
|
25 |
-
|
|
|
26 |
task_name = f"""<a href="https://www.github.com/{repo_name}/milestone/{milestone.number}", target="_black">{milestone.title}</a>"""
|
27 |
if desc['status'] not in all_status:
|
28 |
all_status.append(desc['status'])
|
|
|
22 |
desc = dict()
|
23 |
for line in milestone.description.split('\n'):
|
24 |
tmp = line.split(":")
|
25 |
+
if len(tmp) > 1:
|
26 |
+
desc[tmp[0].lower()] = tmp[1].lower().strip()
|
27 |
task_name = f"""<a href="https://www.github.com/{repo_name}/milestone/{milestone.number}", target="_black">{milestone.title}</a>"""
|
28 |
if desc['status'] not in all_status:
|
29 |
all_status.append(desc['status'])
|