Skip to content

Commit

Permalink
remove base directory
Browse files Browse the repository at this point in the history
  • Loading branch information
HackingDave committed Mar 14, 2021
1 parent d243958 commit 2f6fe2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ def handle_prompt(prompt, force=False):
for root, dirs, files in os.walk(check_config("BASE_INSTALL_PATH="), topdown=False):
for name in dirs:
if root.count(os.sep) >= 3: del dirs[:]
elif root.count(os.sep) == 1: del dirs[:]
else: print(os.path.join(root, name))
base_counter = 1

Expand Down

0 comments on commit 2f6fe2a

Please sign in to comment.