diff options
Diffstat (limited to 'gallery_dl/path.py')
| -rw-r--r-- | gallery_dl/path.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gallery_dl/path.py b/gallery_dl/path.py index 84ee7af..28c07c3 100644 --- a/gallery_dl/path.py +++ b/gallery_dl/path.py @@ -105,6 +105,9 @@ class PathFormat(): strip = ". " self.strip = strip + if WINDOWS: + self.extended = config("path-extended", True) + basedir = extractor._parentdir if not basedir: basedir = config("base-directory") @@ -178,7 +181,7 @@ class PathFormat(): else: self.directory = directory = self.basedirectory - if WINDOWS: + if WINDOWS and self.extended: # Enable longer-than-260-character paths directory = os.path.abspath(directory) if directory.startswith("\\\\"): |
