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