Commit 49c2e7b1 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

ci: Fix a bug with config_file relative filepath

parent efa323ef
...@@ -140,9 +140,8 @@ class SynnefoCI(object): ...@@ -140,9 +140,8 @@ class SynnefoCI(object):
# Read config file # Read config file
if config_file is None: if config_file is None:
config_file = DEFAULT_CONFIG_FILE config_file = os.path.join(self.ci_dir, DEFAULT_CONFIG_FILE)
if not os.path.isabs(config_file): config_file = os.path.abspath(config_file)
config_file = os.path.join(self.ci_dir, config_file)
self.config = ConfigParser() self.config = ConfigParser()
self.config.optionxform = str self.config.optionxform = str
self.config.read(config_file) self.config.read(config_file)
......
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