bytebeat_compiler.py: append to env. arguments
This commit is contained in:
parent
53bc4c504c
commit
43b065c0fa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user