mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-26 23:51:14 +02:00
chore: linting
This commit is contained in:
parent
8d1e2a5134
commit
4a727a2c57
41 changed files with 114 additions and 133 deletions
|
|
@ -75,9 +75,7 @@ async def step1_search(sess, state: dict) -> bool:
|
|||
)
|
||||
for it in items[:5]:
|
||||
print(f" - {it.get('jobKey')} | {it.get('title')} @ {it.get('company')}")
|
||||
state["job_url"] = next(
|
||||
(it["jobUrl"] for it in items if it.get("jobUrl")), None
|
||||
)
|
||||
state["job_url"] = next((it["jobUrl"] for it in items if it.get("jobUrl")), None)
|
||||
return _check("search returned jobs", len(items) > 0, f"{len(items)} jobs")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue