Commit 2d630364 authored by Charlie Jacomme's avatar Charlie Jacomme

abs path

parent 95a4c13f
......@@ -8,15 +8,16 @@ import os
import grp
import sys
path =(os.path.dirname(os.path.abspath(__file__)))
config = ConfigParser()
config.read('config.ini')
config.read(path+'/config.ini')
api_hostname = config.get('Re2o', 'hostname')
api_password = config.get('Re2o', 'password')
api_username = config.get('Re2o', 'username')
api_client = Re2oAPIClient(api_hostname,api_username,api_password)
api_client = Re2oAPIClient(api_hostname,api_username,api_password, use_tls=False)
client_hostname = socket.gethostname().split('.',1)[0]
......
Markdown is supported
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