Skip to content

Commit

Permalink
Update _wt5.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ddkohler committed Feb 19, 2024
1 parent 8e4fbc2 commit 7757bbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WrightTools/cli/_wt5.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def scan(directory=None, no_recursion=False):
desc = wt.kit.describe_wt5(path)
desc["filesize"] = f"{os.path.getsize(path) / 1e6:.1f}"
path = path.relative_to(directory)
print(path.parent)
paths.append(path)
desc["path"] = (
f"[link={path.parent}]{path.parent}[/link]" + r"\\"
if str(path.parent) != "."
Expand Down Expand Up @@ -97,6 +97,7 @@ def raise_sys_exit():
except ValueError:
break
if valid:
print("interacting...")
_interact(shell, str(paths[int(msg)]))
continue

Expand Down

0 comments on commit 7757bbb

Please sign in to comment.