Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lme-nca committed Nov 16, 2023
1 parent cce8c2a commit 13910d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dojo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2610,16 +2610,16 @@ def get_open_findings_burndown(product):
for i in range(90, -1, -1):
start = (curr_date - timedelta(days=i))

d_start = start.timestamp()
d_end = (start + timedelta(days=1)).timestamp()

print("calculating day " + str(d_start))
print("number of critical_count: " + str(critical_count))
print("number of high_count: " + str(high_count))
print("number of medium_count: " + str(medium_count))
print("number of low_count: " + str(low_count))
print("number of info_count: " + str(info_count))

d_start = start.timestamp()
d_end = (start + timedelta(days=1)).timestamp()

for f in f_list:
f_open_date = datetime.combine(f.date, datetime.min.time()).timestamp()
if f_open_date >= d_start and f_open_date < d_end:
Expand Down

0 comments on commit 13910d3

Please sign in to comment.