style: pass Path(DB_PATH) to insert_job for type consistency
This commit is contained in:
parent
1b2643675d
commit
f3e7f89e2e
1 changed files with 1 additions and 1 deletions
|
|
@ -608,7 +608,7 @@ def queue_digest_jobs(digest_id: int, body: QueueJobsBody):
|
||||||
if not url or not url.startswith(('http://', 'https://')):
|
if not url or not url.startswith(('http://', 'https://')):
|
||||||
skipped += 1
|
skipped += 1
|
||||||
continue
|
continue
|
||||||
result = insert_job(DB_PATH, {
|
result = insert_job(Path(DB_PATH), {
|
||||||
'url': url,
|
'url': url,
|
||||||
'title': '',
|
'title': '',
|
||||||
'company': '',
|
'company': '',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue