Commit 807c3435 authored by Stefan Behnel's avatar Stefan Behnel

fix encoding bug in file path handling

parent 886d9e48
...@@ -206,7 +206,7 @@ class FileSourceDescriptor(SourceDescriptor): ...@@ -206,7 +206,7 @@ class FileSourceDescriptor(SourceDescriptor):
def get_error_description(self): def get_error_description(self):
path = self.filename path = self.filename
cwd = os.getcwd() + os.path.sep cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
if path.startswith(cwd): if path.startswith(cwd):
return path[len(cwd):] return path[len(cwd):]
return path 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