Skip to content

Commit

Permalink
Fix incorrect boolean check
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed Apr 28, 2024
1 parent 270e835 commit 7a3177a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightbulb/commands/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ async def _run(self) -> None:
while step_hooks:
self._current_hook = step_hooks.pop(0)

if self.failed and not self._current_hook.skip_when_failed:
if self.failed and self._current_hook.skip_when_failed:
continue

try:
Expand Down

0 comments on commit 7a3177a

Please sign in to comment.