Fixed syntax error

This commit is contained in:
Frisk 2020-07-29 21:38:23 +02:00
parent df1643cd1d
commit 5370cdedc1
No known key found for this signature in database
GPG key ID: 213F7C15068AF8AC

View file

@ -632,7 +632,7 @@ async def embed_formatter(action, change, parsed_comment, categories, recent_cha
link = create_article_path(change["title"], WIKI_ARTICLE_PATH)
embed["title"] = _("Created account")
elif action == "newusers/create2":
link = create_article_path(change["title"].replace(" ", "_ WIKI_ARTICLE_PATH)
link = create_article_path(change["title"], WIKI_ARTICLE_PATH)
embed["title"] = _("Created account {article}").format(article=change["title"])
elif action == "newusers/byemail":
link = create_article_path(change["title"], WIKI_ARTICLE_PATH)