Skip to content

Commit

Permalink
Python linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bjester committed Jan 11, 2024
1 parent 862f064 commit 9b8b285
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/taskworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def main(job_request):
request_id, job_id, process_id, thread_id = job_request.split(',')
request_id, job_id, process_id, thread_id = job_request.split(",")
logger.info(
"Starting Kolibri task worker, for job {} and request {}".format(
job_id, request_id
Expand All @@ -21,9 +21,9 @@ def main(job_request):
from kolibri.core.tasks.worker import execute_job # noqa: E402

execute_job(
job_id,
worker_process=str(process_id),
worker_thread=str(thread_id),
job_id,
worker_process=str(process_id),
worker_thread=str(thread_id),
worker_extra=str(request_id),
)

Expand Down

0 comments on commit 9b8b285

Please sign in to comment.