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 --- ChangeLog | 4 ++++ src/pyssg/discovery.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e54bf87..e6fa6aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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] -- cgit v1.2.3-70-g09d2