diff --git a/src/python/cram/common.py b/src/python/cram/common.py index 0891ff5..28b6e5d 100644 --- a/src/python/cram/common.py +++ b/src/python/cram/common.py @@ -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()