style: pass Path(DB_PATH) to insert_job for type consistency
This commit is contained in:
parent
12ff809bd5
commit
dcd41d74fc
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://')):
|
||||
skipped += 1
|
||||
continue
|
||||
result = insert_job(DB_PATH, {
|
||||
result = insert_job(Path(DB_PATH), {
|
||||
'url': url,
|
||||
'title': '',
|
||||
'company': '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue