Changeset - b72a7cdcb411
[Not reviewed]
default
0 1 0
Dennis Fink - 11 years ago 2013-11-18 21:17:15
dennis.fink@c3l.lu
updated ennstatus
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Scripts/update_server.py
Show inline comments
 
@@ -82,12 +82,13 @@ def get_config():
 
    return 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)
 
    ip = get_ip(tor_config)
 

	
 
    dictionary = {'server_type': server_type, 'server_name': hostname,
0 comments (0 inline, 0 general)