diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-04 23:41:02 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-04 23:41:02 -0600 |
commit | f226c2a21389054a207978ba16def90df26a0681 (patch) | |
tree | bf360029a67ab4213e0014e84d3ff95ed6ef62a2 | |
parent | 1648e4f8b41e0c0417485e0375a1675cd7ab7746 (diff) |
minor fix on dirs discoveryv0.5.1
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/pyssg/discovery.py | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,10 @@ CHANGES ======= +v0.5.0 +------ + +* add ability to copy basic template files * move plt dir to be included in data * refactor and add support for jinija * just include changelog 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] |