Skip to content

Commit 89c42aa

Browse files
authored
Merge pull request #5157 from grondo/utilconf-open-rb
python: open UtilConfig files as binary
2 parents bb5ee6e + c232347 commit 89c42aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bindings/python/flux/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ def load(self):
10421042
continue
10431043

10441044
try:
1045-
with open(filepath) as ofile:
1045+
with open(filepath, "rb") as ofile:
10461046
conf = self.extension_handlers[ppath.suffix](ofile)
10471047
except (
10481048
tomllib.TOMLDecodeError,

0 commit comments

Comments
 (0)