Skip to content

Commit

Permalink
Update src/installer/scripts.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <[email protected]>
  • Loading branch information
DimitriPapadopoulos and pradyunsg authored Jan 5, 2024
1 parent 8303023 commit 865a060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer/scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _get_launcher_data(self, kind: "LauncherKind") -> Optional[bytes]:
name = _ALLOWED_LAUNCHERS[key]
except KeyError as exc:
error = f"{key!r} not in {sorted(_ALLOWED_LAUNCHERS)!r}"
raise InvalidScript(error) from exc
raise InvalidScript(error) from None
return read_binary(_scripts, name)

def _get_alternate_executable(self, executable: str, kind: "LauncherKind") -> str:
Expand Down

0 comments on commit 865a060

Please sign in to comment.