Commit 21664c38 authored by Stefan Behnel's avatar Stefan Behnel

fix encoding bug in file path handling

--HG--
extra : transplant_source : %F8%A1H%A9%1B%B0-%A44d%DE%A4%3E%20%82%B3%EB%F8%97%F8
parent a5237689
......@@ -206,7 +206,7 @@ class FileSourceDescriptor(SourceDescriptor):
def get_error_description(self):
path = self.filename
cwd = os.getcwd() + os.path.sep
cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
if path.startswith(cwd):
return path[len(cwd):]
return path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment