Skip to content

Commit

Permalink
Merge pull request #304 from Haidra-Org/main
Browse files Browse the repository at this point in the history
fix: avoid unbound attr error
  • Loading branch information
tazlin authored Nov 24, 2024
2 parents 2b78bf3 + 9b7fe3d commit e08d0ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde_sdk/generic_api/apimodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def get_follow_up_failure_cleanup_request(self) -> list[HordeRequest]:
if self.ignore_failure():
return []

if self._cleanup_requests is not None:
if hasattr(self, "_cleanup_requests") and self._cleanup_requests is not None:
return self._cleanup_requests

cleanup_request_type = self.get_follow_up_failure_cleanup_request_type()
Expand Down

0 comments on commit e08d0ad

Please sign in to comment.