diff --git a/warden3/warden_client/warden_client.py b/warden3/warden_client/warden_client.py index b1a9951143ae398a824ec06d2f346a9357561bbb..752a9ec977b65fc0609c78312c7cf6d49fcc886a 100644 --- a/warden3/warden_client/warden_client.py +++ b/warden3/warden_client/warden_client.py @@ -430,5 +430,5 @@ class Client(object): def read_cfg(cfgfile): abspath = path.join(path.dirname(__file__), cfgfile) with open(abspath, "r") as f: - stripcomments = "\n".join((l for l in f if not l.lstrip().startswith("#"))) + stripcomments = "\n".join((l for l in f if not l.lstrip().startswith("#", "//"))) return json.loads(stripcomments)