From 04dd650c2fab5647aeba4bf8229dbc41ac3983f4 Mon Sep 17 00:00:00 2001 From: Paul Tikken Laptop Date: Tue, 6 Jul 2021 13:54:39 +0000 Subject: [PATCH] typo corrected --- CveXplore/VERSION | 2 +- CveXplore/database/maintenance/DownloadHandler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CveXplore/VERSION b/CveXplore/VERSION index 9005736b..1d2c307f 100644 --- a/CveXplore/VERSION +++ b/CveXplore/VERSION @@ -1 +1 @@ -0.2.5.2 \ No newline at end of file +0.2.5.3 \ No newline at end of file diff --git a/CveXplore/database/maintenance/DownloadHandler.py b/CveXplore/database/maintenance/DownloadHandler.py index 4579a2f3..ae20c769 100644 --- a/CveXplore/database/maintenance/DownloadHandler.py +++ b/CveXplore/database/maintenance/DownloadHandler.py @@ -339,7 +339,7 @@ def setColInfo(self, collection, field, data): ) def delColInfo(self, collection): - self.database[collection].remove({"db": collection}) + self.database["info"].remove({"db": collection}) def getCPEVersionInformation(self, query): return self.sanitize(self.database["cpe"].find_one(query))