Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Dec 3, 2024
1 parent f23526e commit a867411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/btrixcloud/background_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ async def get_job_progress(self, job_id: str) -> JobProgress:
progress.eta = eta_list[0]

break
# pylint: disable=bare-except
except:
continue

Expand Down Expand Up @@ -786,6 +787,7 @@ async def get_background_job(
)
async def get_job_progress(
job_id: str,
# pylint: disable=unused-argument
org: Organization = Depends(org_crawl_dep),
):
"""Return progress information for background job"""
Expand Down

0 comments on commit a867411

Please sign in to comment.