Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
girardinsamuel authored Mar 22, 2022
1 parent 24f60b9 commit d672cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masonite/drivers/queue/DatabaseDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def consume(self):
self.danger(
f"[{job['id']}][{pendulum.now(tz=self.options.get('tz', 'UTC')).to_datetime_string()}] Job Failed"
)

job["attempts"] = int(job["attempts"])

if job["attempts"] + 1 < int(self.options.get("attempts", 1)):
Expand Down

0 comments on commit d672cdf

Please sign in to comment.