Changeset - 4c3f2f6f06e3
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2014-01-22 19:55:06
dennis.fink@c3l.lu
fixed bug in status function check server
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ennstatus/status/functions.py
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)