mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-07-22 06:50:18 -04:00
Added link variables
This commit is contained in:
parent
c134ee180a
commit
1a84e0c019
3 changed files with 34 additions and 28 deletions
|
@ -160,7 +160,7 @@ class Node:
|
|||
|
||||
if data != None and isinstance(data, dict):
|
||||
for e in data:
|
||||
if isinstance(e, str) and e.startswith("field_"):
|
||||
if isinstance(e, str) and (e.startswith("field_") or e.startswith("var_")):
|
||||
env_map[e] = data[e]
|
||||
|
||||
generated = subprocess.run([file_path], stdout=subprocess.PIPE, env=env_map)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue