summaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/ugoira.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-03-01 19:51:39 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-03-01 19:51:39 -0500
commit889c7b8caec8fc0b9c7a583ed1d9cfa43518fc42 (patch)
treecff4a7de7032843e4efe521d92dfce485ae944f1 /gallery_dl/postprocessor/ugoira.py
parenta26df18796ff4e506b16bf32fcec9336233b9e2e (diff)
New upstream version 1.29.0.upstream/1.29.0
Diffstat (limited to 'gallery_dl/postprocessor/ugoira.py')
-rw-r--r--gallery_dl/postprocessor/ugoira.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gallery_dl/postprocessor/ugoira.py b/gallery_dl/postprocessor/ugoira.py
index fec4ab0..3a32b39 100644
--- a/gallery_dl/postprocessor/ugoira.py
+++ b/gallery_dl/postprocessor/ugoira.py
@@ -9,7 +9,7 @@
"""Convert Pixiv Ugoira to WebM"""
from .common import PostProcessor
-from .. import util
+from .. import util, output
import subprocess
import tempfile
import zipfile
@@ -226,13 +226,13 @@ class UgoiraPP(PostProcessor):
if self._finalize:
self._finalize(pathfmt, tempdir)
except OSError as exc:
- print()
+ output.stderr_write("\n")
self.log.error("Unable to invoke FFmpeg (%s: %s)",
exc.__class__.__name__, exc)
self.log.debug("", exc_info=exc)
pathfmt.realpath = pathfmt.temppath
except Exception as exc:
- print()
+ output.stderr_write("\n")
self.log.error("%s: %s", exc.__class__.__name__, exc)
self.log.debug("", exc_info=exc)
pathfmt.realpath = pathfmt.temppath
@@ -296,7 +296,7 @@ class UgoiraPP(PostProcessor):
out = None if self.output else subprocess.DEVNULL
retcode = util.Popen(args, stdout=out, stderr=out).wait()
if retcode:
- print()
+ output.stderr_write("\n")
self.log.error("Non-zero exit status when running %s (%s)",
args, retcode)
raise ValueError()