Skip to content

Commit 951cd2c

Browse files
committed
formatting
1 parent 0904dd9 commit 951cd2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sasctl/_services/folders.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,13 @@ def create_path(cls, folder, description=None):
154154
155155
"""
156156
folder = str(folder)
157+
157158
# Path must include a leading "/"
158159
if not folder.startswith("/"):
159160
folder = f"/{folder}"
160161
path = folder.split("/")
161-
for level in range(2, len(path) + 1):
162162

163+
for level in range(2, len(path) + 1):
163164
current_path = path[0:level]
164165
name = current_path[-1]
165166
parent = "/".join(current_path[0:-1]) or None

0 commit comments

Comments
 (0)