We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d8857 commit 2468c46Copy full SHA for 2468c46
main.py
@@ -46,7 +46,7 @@ def confirmation_prompt(program_name: str):
46
scripts.remove(MAIN_PY)
47
for _dir in dirs:
48
if os.path.isfile(os.path.join(_dir, MAIN_PY)):
49
- dirs.replace(_dir, _dir[:-1])
+ dirs[dirs.index(_dir)] = _dir[:-1]
50
listing = dirs + scripts
51
file_menu = AnsiMenu(listing)
52
print("Listing for {}:".format(os.getcwd()))
0 commit comments