Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jan 17, 2025
1 parent 390a3c1 commit 8a902f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_sys_platform(self):

def read_file(file_name, default=""):
if os.path.isfile(file_name):
with open(file_name, "r") as f:
with open(file_name, "r", encoding="utf-8") as f:
return f.read().strip()
return default

Expand Down

0 comments on commit 8a902f4

Please sign in to comment.