Fixes missing f format in preview image string

plus a unit test for it
This commit is contained in:
Mouse Reeve
2021-09-20 17:40:59 -07:00
parent 1be33c97a2
commit 90c74f00c9
2 changed files with 10 additions and 1 deletions

View File

@ -415,7 +415,7 @@ def generate_user_preview_image_task(user_id):
texts = {
"text_one": user.display_name,
"text_three": "@{user.localname}@{settings.DOMAIN}",
"text_three": f"@{user.localname}@{settings.DOMAIN}",
}
if user.avatar: