From: Urban Wallasch Date: Wed, 26 May 2021 19:16:26 +0000 (+0200) Subject: * Fixed bug in error message generation. X-Git-Tag: v0.4~15 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=805b20cae0fdd60c538065fac54399e3f7c1cce1;p=ffpreview.git * Fixed bug in error message generation. --- 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