Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

漏洞处理时间统计报错internal server error #41

Open
Gotric opened this issue Dec 20, 2018 · 0 comments
Open

漏洞处理时间统计报错internal server error #41

Gotric opened this issue Dec 20, 2018 · 0 comments

Comments

@Gotric
Copy link

Gotric commented Dec 20, 2018

访问数据统计分析-漏洞处理时间统计页面,报错 “Sorry,internal server error!”,查看日志:

   File "/opt/webapp/srcpm/app/main/view.py",line 526, in index_stats_time
      list_stats_retest_time.append(compute_retest_time)'all',vul_report_list_result))
   File "/opt/webapp/srcpm/app/main/view.py",line 612, in compute_retest_time
      vul_retest_time = (vul_retest_time_end - vul_retest_time_start).seconds
  TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'int'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant