From 2980c1aa07be45df4587837067a6f68c792c33af Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 2 Sep 2022 17:16:11 +0100 Subject: [PATCH] Tidying --- webapp_profile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index 75e659566..b993cd3c8 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1513,10 +1513,10 @@ def _html_edit_profile_instance(base_dir: str, translate: {}, if os.path.isfile(editors_file): with open(editors_file, 'r', encoding='utf-8') as edit_file: editors = edit_file.read() + subtitle = translate['A list of editor nicknames. One per line.'] role_assign_str += \ edit_text_area('' + translate['Site Editors'] + '', - translate['A list of editor nicknames. One per line.'], - 'editors', editors, 200, '', False) + subtitle, 'editors', editors, 200, '', False) # counselors counselors = '' @@ -1544,10 +1544,10 @@ def _html_edit_profile_instance(base_dir: str, translate: {}, if os.path.isfile(devops_file): with open(devops_file, 'r', encoding='utf-8') as edit_file: devops = edit_file.read() + subtitle = translate['A list of devops nicknames. One per line.'] role_assign_str += \ edit_text_area('' + translate['Site DevOps'] + '', - translate['A list of devops nicknames. One per line.'], - 'devopslist', devops, 200, '', False) + subtitle, 'devopslist', devops, 200, '', False) role_assign_str += end_edit_section()