Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Aug 3, 2023
1 parent 89c2897 commit 88b00ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edk2toollib/utility_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def reader(filepath, outstream, stream, logging_level=logging.INFO, encodingErro
f = open(filepath, "w")

while True:
s = stream.readline().decode(sys.stdout.encoding, errors=encodingErrors)
s = stream.readline().decode(sys.stdout.encoding or 'utf-8', errors=encodingErrors)
if not s:
break
if (f is not None):
Expand Down

0 comments on commit 88b00ee

Please sign in to comment.