Skip to content

Commit 075c1b0

Browse files
committed
fix: file read
1 parent 299b6d2 commit 075c1b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/utils/file_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def read(path, log_content=False):
9393
Log.info('Read ' + path + ':')
9494
Log.info(output)
9595
if Settings.PYTHON_VERSION < 3:
96-
return str(output.decode('utf8').encode('utf8')).strip()
96+
return str(output.decode('utf8').encode('utf8'))
9797
else:
98-
return output.decode("utf-8").strip()
98+
return output
9999
else:
100100
raise IOError("{0} not found!".format(path))
101101

0 commit comments

Comments
 (0)