Update app.py
This commit is contained in:
parent
59fecb7d1d
commit
4553d2fc2d
@ -321,8 +321,10 @@ def add_to_wishlist():
|
|||||||
except exception as e:
|
except exception as e:
|
||||||
print("... Failed to create branch ?")
|
print("... Failed to create branch ?")
|
||||||
print(e)
|
print(e)
|
||||||
|
url = "https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+wishlist"
|
||||||
errormsg = _(
|
errormsg = _(
|
||||||
"Failed to create the pull request to add the app to the wishlist... Maybe there's already <a href='https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+wishlist'>a waiting PR for this app</a>? Else, please report the issue to the YunoHost team."
|
"Failed to create the pull request to add the app to the wishlist... Maybe there's already <a href='%(url)s'>a waiting PR for this app</a>? Else, please report the issue to the YunoHost team.",
|
||||||
|
url=url
|
||||||
)
|
)
|
||||||
return render_template(
|
return render_template(
|
||||||
"wishlist_add.html",
|
"wishlist_add.html",
|
||||||
|
Loading…
Reference in New Issue
Block a user