Skip to content

Commit

Permalink
Update src/installer/scripts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Jan 5, 2024
1 parent 865a060 commit 229f9be
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 @@ -126,7 +126,7 @@ def _get_launcher_data(self, kind: "LauncherKind") -> Optional[bytes]:
key = (self.section, kind)
try:
name = _ALLOWED_LAUNCHERS[key]
except KeyError as exc:
except KeyError:
error = f"{key!r} not in {sorted(_ALLOWED_LAUNCHERS)!r}"
raise InvalidScript(error) from None
return read_binary(_scripts, name)
Expand Down

0 comments on commit 229f9be

Please sign in to comment.