From 80e39a8fc7de105510cbbdca8507f2a4b8c9e01d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 22 Jun 2024 21:19:36 -0400 Subject: New upstream version 1.27.1. --- gallery_dl/postprocessor/ugoira.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gallery_dl/postprocessor') 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): -- cgit v1.2.3