Skip to content

Commit

Permalink
修复执行结果收集出错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Aug 24, 2024
1 parent ab9fcda commit b694585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spider_admin_pro/api/stats_collection_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def add_item():
log_error_count = request.json['log_error_count']

# 查询 scrapyd_server_id
schedule_history_row = schedule_history_service.get_schedule_history_service_by_job_id(job_id=spider_job_id)
schedule_history_row = schedule_history_service.get_schedule_history_service_by_job_id(spider_job_id=spider_job_id)
if schedule_history_row:
scrapyd_server_id = schedule_history_row.scrapyd_server_id
else:
Expand Down

0 comments on commit b694585

Please sign in to comment.