Skip to content

Commit

Permalink
fix: lint-induced error (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 authored Sep 16, 2023
1 parent 0e91a28 commit 5c399e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/jobs/scribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def start_job(self):
self.status = JobStatus.FAULTED
self.start_submit_thread()
return
if isinstance(gen_req.json(), dict):
if not isinstance(gen_req.json(), dict):
logger.error(
(
f"KAI instance {self.bridge_data.kai_url} API unexpected response on generate: {gen_req}. "
Expand Down

0 comments on commit 5c399e1

Please sign in to comment.