diff --git a/handel/interface.py b/handel/interface.py index ae8786e5d17429bedc1e36eeb98eb9eb05bd74b0..221a64d5ee6dbbba626f8c88e2cc838a69b81218 100644 --- a/handel/interface.py +++ b/handel/interface.py @@ -686,7 +686,7 @@ def get_config_files(*path): path = os.path.join(*path) ext = b'.ini' if isinstance(path, bytes) else '.ini' sep = b'/' if isinstance(path, bytes) else '/' - return [os.path.join(dp, f).lstrip(path).lstrip(sep) + return [os.path.relpath(os.path.join(dp, f), path).lstrip(sep) for dp, dn, fn in os.walk(path) for f in fn if f.endswith(ext)]