From 805b20cae0fdd60c538065fac54399e3f7c1cce1 Mon Sep 17 00:00:00 2001 From: Urban Wallasch Date: Wed, 26 May 2021 21:16:26 +0200 Subject: [PATCH] * Fixed bug in error message generation. --- ffpreview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffpreview.py b/ffpreview.py index 2a88892..72bbc39 100755 --- a/ffpreview.py +++ b/ffpreview.py @@ -1709,10 +1709,10 @@ def proc_cmd(cmd): retval = proc.wait() proc = None if retval != 0: - eprint(0, cmd + '\n returned %d' % retval) + eprint(0, cmd, '\n returned %d' % retval) eprint(1, stderr) except Exception as e: - eprint(0, cmd + '\n failed: ' + str(e)) + eprint(0, cmd, '\n failed: ' + str(e)) proc = kill_proc(proc) return stdout, stderr, retval -- 2.30.2