Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarushkin committed May 27, 2024
1 parent 14ec59d commit 4832864
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/nvd_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def fetch_and_store_vulnerabilities(db: Session, from_date: str, to_date: str, l
else:
results = nvdlib.searchCVE(
lastModStartDate=f'{from_date} 00:00',
lastModEndDate=f'{to_date} 00:00',
hasKev=True
lastModEndDate=f'{to_date} 00:00'
)
except Exception as e:
logger.error(f"Error in fetch results for {from_date} {to_date}, attempt {i}")
Expand Down

0 comments on commit 4832864

Please sign in to comment.