aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-06-22 21:19:36 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-06-22 21:19:36 -0400
commit80e39a8fc7de105510cbbdca8507f2a4b8c9e01d (patch)
treebb5caa2f5fafc5116b8f89e659085ffbd8a918f2 /gallery_dl/postprocessor
parent1c28712d865e30ed752988ba0b6944882250b665 (diff)
New upstream version 1.27.1.upstream/1.27.1
Diffstat (limited to 'gallery_dl/postprocessor')
-rw-r--r--gallery_dl/postprocessor/ugoira.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/gallery_dl/postprocessor/ugoira.py b/gallery_dl/postprocessor/ugoira.py
index c63a3d9..9e60ce2 100644
--- a/gallery_dl/postprocessor/ugoira.py
+++ b/gallery_dl/postprocessor/ugoira.py
@@ -158,6 +158,7 @@ class UgoiraPP(PostProcessor):
except Exception as exc:
print()
self.log.error("%s: %s", exc.__class__.__name__, exc)
+ self.log.debug("", exc_info=True)
pathfmt.realpath = pathfmt.temppath
else:
if self.mtime:
@@ -266,8 +267,8 @@ class UgoiraPP(PostProcessor):
append("")
ffconcat = tempdir + "/ffconcat.txt"
- with open(ffconcat, "w") as file:
- file.write("\n".join(content))
+ with open(ffconcat, "w") as fp:
+ fp.write("\n".join(content))
return ffconcat
def _write_mkvmerge_timecodes(self, tempdir):
@@ -282,8 +283,8 @@ class UgoiraPP(PostProcessor):
append("")
timecodes = tempdir + "/timecodes.tc"
- with open(timecodes, "w") as file:
- file.write("\n".join(content))
+ with open(timecodes, "w") as fp:
+ fp.write("\n".join(content))
return timecodes
def calculate_framerate(self, frames):