Skip to content

Commit 2468c46

Browse files
committed
Fix typo in main.py
1 parent f5d8857 commit 2468c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def confirmation_prompt(program_name: str):
4646
scripts.remove(MAIN_PY)
4747
for _dir in dirs:
4848
if os.path.isfile(os.path.join(_dir, MAIN_PY)):
49-
dirs.replace(_dir, _dir[:-1])
49+
dirs[dirs.index(_dir)] = _dir[:-1]
5050
listing = dirs + scripts
5151
file_menu = AnsiMenu(listing)
5252
print("Listing for {}:".format(os.getcwd()))

0 commit comments

Comments
 (0)