From fa2a23548aa9656e397189d8da844657709fb831 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 17 Jan 2023 22:02:12 +0100 Subject: [PATCH] Revert "contrib: Fix capture_output in getcoins.py" This reverts commit be59bd17ec753af7cc763474f2432d12bfc88c2f because the changes are no longer needed. --- contrib/signet/getcoins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/signet/getcoins.py b/contrib/signet/getcoins.py index ff99d606796..d4e436626f6 100755 --- a/contrib/signet/getcoins.py +++ b/contrib/signet/getcoins.py @@ -129,7 +129,7 @@ if args.captcha != '': # Retrieve a captcha # Convert SVG image to PPM, and load it try: - rv = subprocess.run([args.imagemagick, 'svg:-', '-depth', '8', 'ppm:-'], input=res.content, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + rv = subprocess.run([args.imagemagick, 'svg:-', '-depth', '8', 'ppm:-'], input=res.content, check=True, capture_output=True) except FileNotFoundError: raise SystemExit(f"The binary {args.imagemagick} could not be found. Please make sure ImageMagick (or a compatible fork) is installed and that the correct path is specified.")