f4pga/utils/xc7/create_place_constraints: fix reading stdout of subprocess_run
@@ -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,
