Skip to content

Commit

Permalink
Fix crash in retry job
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Dec 4, 2024
1 parent 43ec74e commit 9a40e3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jbi/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
import dockerflow.checks
from pydantic import BaseModel, FileUrl, ValidationError, computed_field

from jbi import app, bugzilla
import jbi
from jbi import bugzilla
from jbi.environment import get_settings

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -93,7 +94,7 @@ class QueueItem(BaseModel, frozen=True):
@property
def version(self) -> str:
# Prevents circular imports.
return app.VERSION
return jbi.app.VERSION

@property
def timestamp(self) -> datetime:
Expand Down

0 comments on commit 9a40e3a

Please # to comment.