Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Jan 11, 2024
1 parent 164ba55 commit 65e70f7
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 @@ -70,7 +70,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 65e70f7

Please sign in to comment.