From e02625975435b7b9166cde07c476e8c35bbda9aa Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 31 Dec 2021 09:51:10 +0000 Subject: [PATCH] Snake case --- webapp_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index ef322dd87..0bda50f92 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1420,8 +1420,8 @@ def _html_edit_profile_instance(base_dir: str, translate: {}, moderators = '' moderators_file = base_dir + '/accounts/moderators.txt' if os.path.isfile(moderators_file): - with open(moderators_file, 'r') as f: - moderators = f.read() + with open(moderators_file, 'r') as mod_file: + moderators = mod_file.read() # site moderators role_assign_str = \ begin_edit_section(translate['Role Assignment']) + \