Changeset - f934362f1db1
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2014-07-13 03:07:41
dennis.fink@c3l.lu
Always send fingerprint in update_server.py
1 file changed with 1 insertions and 4 deletions:
0 comments (0 inline, 0 general)
Scripts/update_server.py
Show inline comments
 
@@ -90,7 +90,7 @@ def create_server_json(tor_configfile='/
 
    ip = get_ip(tor_config)
 

	
 
    dictionary = {'server_type': server_type, 'server_name': hostname,
 
                  'tor_status': tor_status}
 
                  'tor_status': tor_status, 'fingerprint': fingerprint}
 

	
 
    if ip is not None:
 
        dictionary['ip'] = ip
 
@@ -98,9 +98,6 @@ def create_server_json(tor_configfile='/
 
    if obfs is not None:
 
        dictionary['obfs'] = obfs
 

	
 
    if server_type != 'Bridge':
 
        dictionary['fingerprint'] = fingerprint
 

	
 
    return dictionary
 

	
 

	
0 comments (0 inline, 0 general)