Skip to content

Commit fa2a235

Browse files
author
MarcoFalke
committed
Revert "contrib: Fix capture_output in getcoins.py"
This reverts commit be59bd1 because the changes are no longer needed.
1 parent dddd462 commit fa2a235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/signet/getcoins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def bitcoin_cli(rpc_command_and_params):
129129

130130
# Convert SVG image to PPM, and load it
131131
try:
132-
rv = subprocess.run([args.imagemagick, 'svg:-', '-depth', '8', 'ppm:-'], input=res.content, check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
132+
rv = subprocess.run([args.imagemagick, 'svg:-', '-depth', '8', 'ppm:-'], input=res.content, check=True, capture_output=True)
133133
except FileNotFoundError:
134134
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.")
135135

0 commit comments

Comments
 (0)