Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,12 +42,12 @@ _Note_: If you don't want all resources to be included just remove the elements
|
|
| 42 |
"""
|
| 43 |
|
| 44 |
def issue_url(username, repos):
|
| 45 |
-
title = opt_out_issue_title.format(username=username)
|
| 46 |
-
body = opt_out_issue_body.format(repo_list=" - "+ "\n - ".join(repos))
|
| 47 |
|
| 48 |
opt_out_text = opt_out_text_template.format(title=title, body=body)
|
| 49 |
|
| 50 |
-
return
|
| 51 |
|
| 52 |
def check_username(username, version):
|
| 53 |
output_md = ""
|
|
|
|
| 42 |
"""
|
| 43 |
|
| 44 |
def issue_url(username, repos):
|
| 45 |
+
title = urllib.parse.quote(opt_out_issue_title.format(username=username))
|
| 46 |
+
body = urllib.parse.quote(opt_out_issue_body.format(repo_list=" - "+ "\n - ".join(repos)))
|
| 47 |
|
| 48 |
opt_out_text = opt_out_text_template.format(title=title, body=body)
|
| 49 |
|
| 50 |
+
return opt_out_text
|
| 51 |
|
| 52 |
def check_username(username, version):
|
| 53 |
output_md = ""
|