##// END OF EJS Templates
Switching to unicode version of os.getcwd in filefind
Jörgen Stenarson -
Show More
@@ -137,7 +137,7 b' def filefind(filename, path_dirs=None):'
137 path_dirs = (path_dirs,)
137 path_dirs = (path_dirs,)
138
138
139 for path in path_dirs:
139 for path in path_dirs:
140 if path == '.': path = os.getcwd()
140 if path == '.': path = os.getcwdu()
141 testname = expand_path(os.path.join(path, filename))
141 testname = expand_path(os.path.join(path, filename))
142 if os.path.isfile(testname):
142 if os.path.isfile(testname):
143 return os.path.abspath(testname)
143 return os.path.abspath(testname)
General Comments 0
You need to be logged in to leave comments. Login now