aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2024-06-22 21:19:42 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2024-06-22 21:19:42 -0400
commit408cf4d7719de63b8175bd9b69a7484bc6dba1f8 (patch)
treeeb6ec27c12186e38a97673ec9a1332853aa44175 /gallery_dl/postprocessor
parent265fafbf1b3d468d4087a5229ca4bad0a651db23 (diff)
parent80e39a8fc7de105510cbbdca8507f2a4b8c9e01d (diff)
Update upstream source from tag 'upstream/1.27.1'
Update to upstream version '1.27.1' with Debian dir 786b4d48b451c0be3e4e14b3739202bb3965566e
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):