diff --git a/ennstatus/status/functions.py b/ennstatus/status/functions.py --- a/ennstatus/status/functions.py +++ b/ennstatus/status/functions.py @@ -32,7 +32,7 @@ def _check_server(data): for key in ('server_status', 'tor_status'): data[key] = status - filename = os.path.join('data', data['server_name']+'.json') + filename = os.path.join('data', data['server_name'].lower()+'.json') with open(filename, mode='w', encoding='utf-8') as file_object: json.dump(data, file_object)