summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:41:02 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:41:02 -0600
commitf226c2a21389054a207978ba16def90df26a0681 (patch)
treebf360029a67ab4213e0014e84d3ff95ed6ef62a2 /src
parent1648e4f8b41e0c0417485e0375a1675cd7ab7746 (diff)
minor fix on dirs discoveryv0.5.1
Diffstat (limited to 'src')
-rw-r--r--src/pyssg/discovery.py2
1 files changed, 1 insertions, 1 deletions
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]