From f226c2a21389054a207978ba16def90df26a0681 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 4 Jun 2021 23:41:02 -0600 Subject: minor fix on dirs discovery --- src/pyssg/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/pyssg/discovery.py b/src/pyssg/discovery.py index 8dbbf69..a99f8bb 100644 --- a/src/pyssg/discovery.py +++ b/src/pyssg/discovery.py @@ -26,6 +26,6 @@ def get_dir_structure(directory: str, for d in dirs: if root in out: out.remove(root) - out.append(os.path.join(root, d)) + out.append(os.path.join(root, d)) return [o.replace(directory, '')[1:] for o in out] -- cgit v1.2.3-70-g09d2