Commit 992e7f45 authored by Alexandre Dulaunoy's avatar Alexandre Dulaunoy
Browse files

Remove ObjectID from last entries dump

parent 0fbeb641
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ class last:
                if "cwe" in item and self.capeclookup:
                    if item['cwe'].lower() != 'unknown':
                        item['capec'] = self.getcapec(cweid=(item['cwe'].split('-')[1]))
                item.pop('_id')
                entries.append(item)

        return (entries)