diff --git a/warden3/warden_client/warden_client.py b/warden3/warden_client/warden_client.py index 3604e56e7d1effaf0fda2c0885ec96a24c0aab21..cdcec00d51f66cb623b3db1fa3f836b44736d988 100644 --- a/warden3/warden_client/warden_client.py +++ b/warden3/warden_client/warden_client.py @@ -662,7 +662,6 @@ def format_time(year, month, day, hour, minute, second, microsec=0, utcoffset=No def read_cfg(cfgfile): - abspath = path.join(path.dirname(__file__), cfgfile) - with open(abspath, "r") as f: + with open(cfgfile, "r") as f: stripcomments = "\n".join((l for l in f if not l.lstrip().startswith(("#", "//")))) return json.loads(stripcomments)