Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Oct 2, 2024
1 parent 74fa4a8 commit 68571db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/btrixcloud/operator/cronjobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ async def make_new_crawljob(

if org.readOnly:
print(
f"org {org.id} set to read-only. skipping scheduled crawl for workflow {cid}"
f'org "{org.slug}" set to read-only. skipping scheduled crawl for workflow {cid}'
)
return self.get_finished_response(metadata)

if crawlconfig.proxyId and not self.crawl_config_ops.get_crawler_proxy(
crawlconfig.proxyId
):
print(
f"proxy {crawlconfig.proxyId} missing, skipping scheduled crawl for workflow {cid} in org {org.id}"
f"proxy {crawlconfig.proxyId} missing, skipping scheduled crawl for "
+ f'workflow {cid} in "{org.slug}"'
)
return self.get_finished_response(metadata)

Expand Down

0 comments on commit 68571db

Please sign in to comment.