diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index dab646e..a20c95c 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -29,7 +29,10 @@ DEFAULT_PARAMETERS = { } def fetch(name: str): - return res if (res := environ.get(name)) else DEFAULT_PARAMETERS[name] + res = DEFAULT_PARAMETERS[name] + if from_env := environ.get(name): + res += from_env + return res def read_file(path: str) -> str: return open(path, "r", encoding="utf-8-sig").read()