Skip to content

Commit 8a902f4

Browse files
authored
Update setup.py
1 parent 390a3c1 commit 8a902f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def get_sys_platform(self):
171171

172172
def read_file(file_name, default=""):
173173
if os.path.isfile(file_name):
174-
with open(file_name, "r") as f:
174+
with open(file_name, "r", encoding="utf-8") as f:
175175
return f.read().strip()
176176
return default
177177

0 commit comments

Comments
 (0)