From f39f98ccf98f228990e2a503df90c1ea40a6619d Mon Sep 17 00:00:00 2001 From: Taylor Boyko Date: Mon, 13 Jul 2020 16:41:52 -0700 Subject: [PATCH] do not decode data within _curl() (#1007) --- code/client/munkilib/munkirepo/MWA2APIRepo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/code/client/munkilib/munkirepo/MWA2APIRepo.py b/code/client/munkilib/munkirepo/MWA2APIRepo.py index 1f545381..ea47b615 100644 --- a/code/client/munkilib/munkirepo/MWA2APIRepo.py +++ b/code/client/munkilib/munkirepo/MWA2APIRepo.py @@ -104,7 +104,6 @@ class MWA2APIRepo(Repo): stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, err = proc.communicate() - output = output.decode('UTF-8') err = err.decode('UTF-8') if DEBUG: # save our curl_directives for debugging