diff --git a/seafile-ldap.py b/seafile-ldap.py index 8ccc9a2..79a192e 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -67,10 +67,11 @@ logger.addHandler(consoleHandler) # get directory of script cwd = os.path.dirname(os.path.realpath(__file__)) +configPath = os.path.join(cwd, 'config.ini') # import the config file logger.debug("Starting to read the ini config.") -logger.debug("Using file {0}/config.ini.".format(cwd)) +logger.debug("Using file {0}.".format(configPath)) try: config = configparser.ConfigParser() config.read(cwd + '/config.ini')