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):
# Read config file
if config_file is None:
if not os.path.isabs(config_file):
config_file = os.path.join(self.ci_dir, config_file)
config_file = os.path.join(self.ci_dir, DEFAULT_CONFIG_FILE)
config_file = os.path.abspath(config_file)
self.config = ConfigParser()
self.config.optionxform = str
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