mirror of https://gitlab.com/bashrc2/epicyon
Snake case
parent
a33fb327e9
commit
e026259754
|
@ -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']) + \
|
||||||
|
|
Loading…
Reference in New Issue