Correct typo that broke the script with TLS

aurore
otthorn 3 years ago
parent 1ce1c9b693
commit 2dc4720792

@ -21,10 +21,11 @@ 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
use_tls = False
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=use_tls)

Loading…
Cancel
Save