Fri, 30 Oct 2015 18:01:42 +0100
Fixed an issue causing wrong project file entries if the project is generated in the root on windows.
Project/Project.py | file | annotate | diff | comparison | revisions |
--- a/Project/Project.py Fri Oct 23 19:44:22 2015 +0200 +++ b/Project/Project.py Fri Oct 30 18:01:42 2015 +0100 @@ -3211,7 +3211,10 @@ if self.ppath and path == self.ppath: return "" else: - return path[len(self.ppath) + 1:] + relpath = path[len(self.ppath):] + if relpath.startswith(("/", "\\")): + relpath = relpath[1:] + return relpath else: return path