Skip to content
Snippets Groups Projects
Commit 0f668716 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

normalize-usercode: read w/o flag 'b'

parent 2839ec71
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ def normalize_text(ti, fname):
def normalize_file(fname, inplace):
try:
with open(fname, 'rb') as f:
with open(fname, 'r') as f:
ti = f.read()
t = normalize_text(ti, fname)
if t == ti:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment