# HG changeset patch # User Dennis Fink # Date 2013-11-18 21:18:35 # Node ID 7fe6198dff7e8c7eb9d2bd698bd6bfe45abec650 # Parent b72a7cdcb41149030606ee47f24f7360f77000d4 updated ennstatus diff --git a/Scripts/update_server.py b/Scripts/update_server.py --- a/Scripts/update_server.py +++ b/Scripts/update_server.py @@ -67,12 +67,9 @@ def get_ip(tor_config): match = IP_REGEX.match(i) if match is not None: - print('IP is:', i.groups()[1]) return i.groups()[1] - else: - print('No ip') - return None + return None def get_config(): @@ -85,7 +82,6 @@ def get_config(): def create_server_json(tor_configfile='/etc/tor/torrc', name='tor'): tor_config = read_tor_config(tor_configfile) - print(tor_config) server_type, obfs = get_server_type(tor_config) hostname, fingerprint = get_tor_fingerprint(name) tor_status = get_tor_status(name)