f4pga/utils/xc7/create_place_constraints: fix reading stdout of subprocess_run
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
This commit is contained in:
parent
153ba52cc3
commit
e6b7f346ce
|
@ -1127,7 +1127,9 @@ def main(
|
|||
net=Path(net).open("r"),
|
||||
vpr_grid_map=vpr_grid_map,
|
||||
arch=arch,
|
||||
db_root=environ.get("DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True))
|
||||
db_root=environ.get(
|
||||
"DATABASE_DIR", subprocess_run("prjxray-config", capture_output=True).stdout.decode("utf-8").strip()
|
||||
)
|
||||
if db_root is None
|
||||
else db_root,
|
||||
part=part,
|
||||
|
|
Loading…
Reference in New Issue