aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/path.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-03-13 02:07:55 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-03-13 02:07:55 -0400
commitc5965a4d7650b7e935f630e40d883801967f7bcc (patch)
tree2223d05254347c00a339e4476d3daea7b2624fb4 /gallery_dl/path.py
parentbaa8beeeb8bbe097f0b33d8c029fbd299253efa0 (diff)
parent10987f08f8b6c510ba64f4b42d95ba67eec6e5b0 (diff)
Update upstream source from tag 'upstream/1.25.0'
Update to upstream version '1.25.0' with Debian dir c2275e6e216e12115941d12f2b939d3f1a36436e
Diffstat (limited to 'gallery_dl/path.py')
-rw-r--r--gallery_dl/path.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/gallery_dl/path.py b/gallery_dl/path.py
index 3b360e9..a14562a 100644
--- a/gallery_dl/path.py
+++ b/gallery_dl/path.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2021-2022 Mike Fährmann
+# Copyright 2021-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -73,10 +73,15 @@ class PathFormat():
raise exception.DirectoryFormatError(exc)
self.kwdict = {}
- self.directory = self.realdirectory = \
- self.filename = self.extension = self.prefix = \
- self.path = self.realpath = self.temppath = ""
self.delete = False
+ self.prefix = ""
+ self.filename = ""
+ self.extension = ""
+ self.directory = ""
+ self.realdirectory = ""
+ self.path = ""
+ self.realpath = ""
+ self.temppath = ""
extension_map = config("extension-map")
if extension_map is None: