Skip to content

Commit

Permalink
fix(util): rfluxmtx
Browse files Browse the repository at this point in the history
  • Loading branch information
taoning committed Jul 22, 2024
1 parent 2023c57 commit fd2393d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyradiance/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def rfluxmtx(
cmd.extend(["-i", str(octree)])
if scene is not None:
if sys.platform == "win32":
cmd.extend(f"'{str(s)}'" for s in scene)
cmd.extend(f'"{str(s)}"' for s in scene)
else:
cmd.extend(str(s) for s in scene)
return sp.run(cmd, check=True, stdout=sp.PIPE, input=rays).stdout
Expand Down

0 comments on commit fd2393d

Please sign in to comment.