From dcb5e4d2ddf28ddbcf5a6169cf05a935d461a749 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 21 Apr 2021 21:01:09 +0100 Subject: [PATCH] Set default bio --- webapp_welcome_profile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_welcome_profile.py b/webapp_welcome_profile.py index 7dde5d9ce..e3d164d9f 100644 --- a/webapp_welcome_profile.py +++ b/webapp_welcome_profile.py @@ -107,6 +107,8 @@ def htmlWelcomeProfile(baseDir: str, nickname: str, domain: str, bioStr = \ actorJson['summary'].replace('

', '').replace('

', '') + if not bioStr: + bioStr = translate['Your bio'] profileForm += '
\n' profileForm += '