aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/metadata.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2022-05-26 23:57:10 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2022-05-26 23:57:10 -0400
commit5c903a88dee75fe65fee8cbf337e6a6217eda8ce (patch)
tree83b8d6427272f24829e7b01930801a98b4bba5e2 /gallery_dl/postprocessor/metadata.py
parent742762724a171c3171cca4d6680d03ba10e003d6 (diff)
parentad61a6d8122973534ab63df48f6090954bc73db6 (diff)
Update upstream source from tag 'upstream/1.22.0'
Update to upstream version '1.22.0' with Debian dir f597b243649bdb1feca741d6879e2c79e5237cde
Diffstat (limited to 'gallery_dl/postprocessor/metadata.py')
-rw-r--r--gallery_dl/postprocessor/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/postprocessor/metadata.py b/gallery_dl/postprocessor/metadata.py
index 5e8f3e9..4e86239 100644
--- a/gallery_dl/postprocessor/metadata.py
+++ b/gallery_dl/postprocessor/metadata.py
@@ -95,7 +95,7 @@ class MetadataPP(PostProcessor):
with open(path, "w", encoding="utf-8") as fp:
self.write(fp, pathfmt.kwdict)
except FileNotFoundError:
- os.makedirs(directory, exist_ok=True)
+ os.makedirs(directory)
with open(path, "w", encoding="utf-8") as fp:
self.write(fp, pathfmt.kwdict)