Skip to content

Commit 572c948

Browse files
committed
better to be explicit
1 parent 7881c15 commit 572c948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsconnect/subprocesses/inspect_environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def uv_export(dirname: str, lock_filename: str):
229229
if result.returncode != 0:
230230
raise EnvironmentException("Error during uv export: exited with code %d" % result.returncode)
231231

232-
with open(output_path) as output_file:
232+
with open(output_path, mode="r", encoding="utf-8") as output_file:
233233
exported = output_file.read()
234234

235235
requirements = filter_pip_freeze_output(exported)

0 commit comments

Comments
 (0)