fix repeating paths for skipped files (#3203)

fixing the fix from e3260293
This commit is contained in:
Mike Fährmann
2022-11-13 19:34:59 +01:00
parent 9f06e79868
commit 374f14c28c

View File

@@ -218,7 +218,7 @@ class PathFormat():
if self.path[-1] == ".":
self.path = self.path[:-1]
self.temppath = self.realpath = self.realpath[:-1]
elif not self.path:
elif not self.temppath:
self.build_path()
return True