Browse Source

change reverted

bugfixes
harshadyeola 10 years ago
parent
commit
6b8052e0d2
  1. 4
      ee/core/fileutils.py

4
ee/core/fileutils.py

@ -84,9 +84,7 @@ class EEFileUtils():
rstr: replace string rstr: replace string
""" """
try: try:
for line in fileinput.input(fnm, inplace=True, for line in fileinput.input(fnm, inplace=True):
openhook=fileinput.
hook_encoded('utf-8')):
print(line.replace(sstr, rstr), end='') print(line.replace(sstr, rstr), end='')
fileinput.close() fileinput.close()
except Exception as e: except Exception as e:

Loading…
Cancel
Save