diff --git a/packit_service/worker/mixin.py b/packit_service/worker/mixin.py index e9f695f18..eed7e9718 100644 --- a/packit_service/worker/mixin.py +++ b/packit_service/worker/mixin.py @@ -250,7 +250,7 @@ class GetPagurePullRequestMixin(GetPagurePullRequest): @property def pull_request(self): if not self._pull_request: - if self.data.pr_id: + if self.data.pr_id is not None: logger.debug( f"Getting pull request #{self.data.pr_id}" f"for repo {self.project.namespace}/{self.project.repo}"