Set dyslexic font in config file

main
Bob Mottram 2022-01-26 22:38:29 +00:00
parent df9a2e875c
commit 9ad1fc842f
1 changed files with 2 additions and 0 deletions

View File

@ -6260,6 +6260,8 @@ class PubServer(BaseHTTPRequestHandler):
if fields.get('dyslexicFont'): if fields.get('dyslexicFont'):
if fields['dyslexicFont'] == 'on': if fields['dyslexicFont'] == 'on':
self.server.dyslexic_font = True self.server.dyslexic_font = True
set_config_param(base_dir, 'dyslexicFont',
self.server.dyslexic_font)
# low bandwidth images checkbox # low bandwidth images checkbox
if path.startswith('/users/' + admin_nickname + '/') or \ if path.startswith('/users/' + admin_nickname + '/') or \