Skip to content

Commit

Permalink
fix: no decoding necessary (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue authored Jul 2, 2024
1 parent ee7eb9f commit 084429c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/tools/installer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,13 +704,13 @@ def _windows_fallback_download(self, url, filename, when_finished=None):

if error_code:
LOG.error(
f"Error while downloading Python on Windows fail-safe mode: {out.decode('utf-8')}"
f"Error while downloading Python on Windows fail-safe mode: {out}"
)
msg = QtWidgets.QMessageBox()
msg.warning(
self,
"Error while downloading Python on Windows fail-safe mode!",
f"Error message:\n\n {out.decode('utf-8')}",
f"Error message:\n\n {out}",
)
self.setEnabled(True)
return
Expand Down

0 comments on commit 084429c

Please sign in to comment.