From 6b8052e0d2c98b95f188850c2d8510014abf7ccc Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Sat, 14 Feb 2015 13:25:29 +0530 Subject: [PATCH] change reverted --- ee/core/fileutils.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ee/core/fileutils.py b/ee/core/fileutils.py index 354d1723..25a31cb6 100644 --- a/ee/core/fileutils.py +++ b/ee/core/fileutils.py @@ -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: