Skip to content

Commit ed3a833

Browse files
author
gau1991
committed
Merge branch 'python' of github.com:rtCamp/easyengine into python
2 parents f613c76 + 6b8052e commit ed3a833

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ee/core/fileutils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ def searchreplace(self, fnm, sstr, rstr):
8484
rstr: replace string
8585
"""
8686
try:
87-
for line in fileinput.input(fnm, inplace=True,
88-
openhook=fileinput.
89-
hook_encoded('utf-8')):
87+
for line in fileinput.input(fnm, inplace=True):
9088
print(line.replace(sstr, rstr), end='')
9189
fileinput.close()
9290
except Exception as e:

0 commit comments

Comments
 (0)