mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-14 10:58:27 +00:00
fix: [import] redis key
This commit is contained in:
parent
a933c6f172
commit
84092b975d
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def CPEExtractor( cpe=None ):
|
|||
record['product'] = cpefield[4]
|
||||
cpeline = ""
|
||||
for cpeentry in cpefield[:5]:
|
||||
cpeline = cpeline + ":" + cpeentry
|
||||
cpeline = "{}:{}".format(cpeline, cpeentry)
|
||||
record['cpeline'] = cpeline[1:]
|
||||
return record
|
||||
|
||||
|
|
Loading…
Reference in a new issue