Skip to content

Commit

Permalink
added encoding="utf8" to open() to fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
GIJack committed Mar 14, 2021
1 parent 3ea3e83 commit 6f80f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_mac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _read_vid_file(vid_file):
''' Every line is [MAC,Vendor,Comment]'''
out_lines = []
try:
in_file = open(vid_file,"r")
in_file = open(vid_file,"r",encoding="utf8")
file_lines = in_file.readlines()
in_file.close()
except FileNotFoundError:
Expand Down

0 comments on commit 6f80f29

Please sign in to comment.