summaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/ugoira.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-08-26 19:34:45 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-08-26 19:34:45 -0400
commitb75d158d014d6c43d7d785c46c9372a9cf84d144 (patch)
tree7dca4a7e61fe8b6e2bff2142fc19891e783a7d6d /gallery_dl/postprocessor/ugoira.py
parent64ad8e7bd15df71ab1116eede414558631bcad32 (diff)
New upstream version 1.10.2upstream/1.10.2
Diffstat (limited to 'gallery_dl/postprocessor/ugoira.py')
-rw-r--r--gallery_dl/postprocessor/ugoira.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gallery_dl/postprocessor/ugoira.py b/gallery_dl/postprocessor/ugoira.py
index bd8c5ad..0dbb796 100644
--- a/gallery_dl/postprocessor/ugoira.py
+++ b/gallery_dl/postprocessor/ugoira.py
@@ -52,13 +52,13 @@ class UgoiraPP(PostProcessor):
def prepare(self, pathfmt):
self._frames = None
- if pathfmt.keywords["extension"] != "zip":
+ if pathfmt.extension != "zip":
return
- if "frames" in pathfmt.keywords:
- self._frames = pathfmt.keywords["frames"]
- elif "pixiv_ugoira_frame_data" in pathfmt.keywords:
- self._frames = pathfmt.keywords["pixiv_ugoira_frame_data"]["data"]
+ if "frames" in pathfmt.kwdict:
+ self._frames = pathfmt.kwdict["frames"]
+ elif "pixiv_ugoira_frame_data" in pathfmt.kwdict:
+ self._frames = pathfmt.kwdict["pixiv_ugoira_frame_data"]["data"]
else:
return