# HG changeset patch # User Dennis Fink # Date 2014-07-13 03:07:41 # Node ID f934362f1db14f08f881e758f8af48b5cfd829af # Parent feb2e94d533add3bdcc5c78f8f77a9a85e57aa66 Always send fingerprint in update_server.py diff --git a/Scripts/update_server.py b/Scripts/update_server.py --- a/Scripts/update_server.py +++ b/Scripts/update_server.py @@ -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