Skip to content

Commit 084429c

Browse files
authored
fix: no decoding necessary (#309)
1 parent ee7eb9f commit 084429c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ansys/tools/installer/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,13 +704,13 @@ def _windows_fallback_download(self, url, filename, when_finished=None):
704704

705705
if error_code:
706706
LOG.error(
707-
f"Error while downloading Python on Windows fail-safe mode: {out.decode('utf-8')}"
707+
f"Error while downloading Python on Windows fail-safe mode: {out}"
708708
)
709709
msg = QtWidgets.QMessageBox()
710710
msg.warning(
711711
self,
712712
"Error while downloading Python on Windows fail-safe mode!",
713-
f"Error message:\n\n {out.decode('utf-8')}",
713+
f"Error message:\n\n {out}",
714714
)
715715
self.setEnabled(True)
716716
return

0 commit comments

Comments
 (0)