Skip to content

Commit 9f43f44

Browse files
authored
Merge pull request cyberbotics#6526 from cyberbotics/sync-master-3a73f7b9b
Merge master into develop
2 parents db8dbbd + f204779 commit 9f43f44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/packaging/generate_proto_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, path, name):
4444
self.needs_robot_ancestor = False
4545

4646
# store file contents to avoid reading it multiple times
47-
with open(self.path, 'r') as file:
47+
with open(self.path, 'r', encoding='utf-8') as file:
4848
self.contents = file.read()
4949
# remove IndexedFaceSet related fields since they significantly slow down the subsequent regex
5050
self.contents = re.sub(r'point\s+\[[^\]]+\]', '', self.contents)

0 commit comments

Comments
 (0)