Skip to content

Commit 55bb621

Browse files
author
Kevin D Smith
committed
Fix issue with conda build on Windows
1 parent 5a6f8c9 commit 55bb621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cicd/tar2conda.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ def main(url, args):
307307

308308
print_err('>' + ' '.join(cmd))
309309
try:
310-
print_err(subprocess.check_output(cmd).encode('utf-8'))
310+
print_err(subprocess.check_output(cmd).decode('utf-8'))
311311
except subprocess.CalledProcessError as exc:
312-
out = exc.output.encode('utf-8')
312+
out = exc.output.decode('utf-8')
313313
print_err(out)
314314
# Conda build fails intermittently on Windows when cleaning
315315
# up at the end. Ignore these errors on Windows.

0 commit comments

Comments
 (0)