diff --git a/gallery_dl/path.py b/gallery_dl/path.py index ea3cfb8d..e901fb92 100644 --- a/gallery_dl/path.py +++ b/gallery_dl/path.py @@ -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