Bugfix: | on strings isn't defined
This commit is contained in:
parent
e90055e3bd
commit
196c0fc9a5
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ def expandvars(s: str) -> str:
|
|||
return os.uname()[1]
|
||||
elif var == "${home}":
|
||||
return os.path.expanduser("~")
|
||||
elif var == "${uname}" | "${sysname}":
|
||||
elif var == "${uname}" or var == "${sysname}":
|
||||
return platform.system().lower()
|
||||
elif var == "${arch}":
|
||||
return platform.machine()
|
||||
|
|
Loading…
Reference in a new issue