fixing the fix from e3260293
e3260293
@ -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