From 60dc1a34958f4f7fede9f0d42695cb8aa3025151 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 30 May 2024 00:46:05 +0200 Subject: [PATCH] paths --- cd/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index 83dac8f..e045397 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -15,14 +15,14 @@ def cd_browse_workspace(): {project.root} ↓ ''', end=str()) - files = [] + paths = [] for directory, directories, files in os.walk(project.root): for file in files: absolute_path = os.path.join(directory, file) relative_path = os.path.relpath(absolute_path, start=project.root) - files.append(relative_path) - for file in files: - print(file) + paths.append(relative_path) + for path in paths: + print(path) def cd_clone_branch():