Commit c89d3ad1 authored by Hugo Levy-Falk's avatar Hugo Levy-Falk Committed by root
Browse files

I need TLS

parent 1856ef7f
......@@ -21,8 +21,12 @@ config.read(path+'/config.ini')
api_hostname = config.get('Re2o', 'hostname')
api_password = config.get('Re2o', 'password')
api_username = config.get('Re2o', 'username')
if 'use_tls' in config['Re2o']:
use_tls = config.get('Re2o', 'use_tls')
else:
us_tls = False
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=False)
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=use_tls)
client_hostname = socket.gethostname().split('.', 1)[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment