mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
chore: fix formatting in aliases.py
This commit is contained in:
parent
df8952d99e
commit
75f351821a
1 changed files with 5 additions and 1 deletions
|
@ -817,7 +817,11 @@ def detect_xpip_alias():
|
|||
return basecmd
|
||||
elif IN_APPIMAGE:
|
||||
# In AppImage `sys.executable` is equal to path to xonsh.AppImage file and the real python executable is in $_
|
||||
return [XSH.env.get("_", "APPIMAGE_PYTHON_EXECUTABLE_NOT_FOUND"), "-m", "pip"]
|
||||
return [
|
||||
XSH.env.get("_", "APPIMAGE_PYTHON_EXECUTABLE_NOT_FOUND"),
|
||||
"-m",
|
||||
"pip",
|
||||
]
|
||||
elif not os.access(os.path.dirname(sys.executable), os.W_OK):
|
||||
return (
|
||||
sys.executable
|
||||
|
|
Loading…
Add table
Reference in a new issue