Snake case

main
Bob Mottram 2021-12-31 09:51:10 +00:00
parent a33fb327e9
commit e026259754
1 changed files with 2 additions and 2 deletions

View File

@ -1420,8 +1420,8 @@ def _html_edit_profile_instance(base_dir: str, translate: {},
moderators = '' moderators = ''
moderators_file = base_dir + '/accounts/moderators.txt' moderators_file = base_dir + '/accounts/moderators.txt'
if os.path.isfile(moderators_file): if os.path.isfile(moderators_file):
with open(moderators_file, 'r') as f: with open(moderators_file, 'r') as mod_file:
moderators = f.read() moderators = mod_file.read()
# site moderators # site moderators
role_assign_str = \ role_assign_str = \
begin_edit_section(translate['Role Assignment']) + \ begin_edit_section(translate['Role Assignment']) + \