|
@@ -130,7 +130,7 @@ def process_file(subdir: str, filename: str):
|
130
|
130
|
# Note: no need to create output dirs, as the initial copy_tree
|
131
|
131
|
# will do that.
|
132
|
132
|
|
133
|
|
- print(' writing ' + outfilepath)
|
|
133
|
+ print(' writing ' + str(outfilepath))
|
134
|
134
|
try:
|
135
|
135
|
# Preserve unicode chars; Avoid CR-LF on Windows.
|
136
|
136
|
with outfilepath.open("w", encoding="utf-8", newline='\n') as outfile:
|
|
@@ -140,7 +140,7 @@ def process_file(subdir: str, filename: str):
|
140
|
140
|
print('Failed to write file: ' + str(e) )
|
141
|
141
|
raise Exception
|
142
|
142
|
else:
|
143
|
|
- print(' no change for ' + outfilepath)
|
|
143
|
+ print(' no change for ' + str(outfilepath))
|
144
|
144
|
|
145
|
145
|
#----------
|
146
|
146
|
def main():
|