Skip to content

Commit

Permalink
Betterpath resolves path back correctly on multiword
Browse files Browse the repository at this point in the history
  • Loading branch information
bill88t committed Dec 8, 2023
1 parent ddfde09 commit e0c033e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/ljinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ def betterpath(back: str = None) -> str:
res = a[11:]
else:
res = "&" + a
if " " in res:
res = res.replace(" ", "\\ ")
else: # resolve path back to normal
if back in ["&/", "&"]: # board root
res = "/"
Expand Down

0 comments on commit e0c033e

Please sign in to comment.