diff --git a/CveXplore/VERSION b/CveXplore/VERSION index 457a9771..0698ad5c 100644 --- a/CveXplore/VERSION +++ b/CveXplore/VERSION @@ -1 +1 @@ -0.3.20.dev23 +0.3.21 \ No newline at end of file diff --git a/CveXplore/main.py b/CveXplore/main.py index f3521390..966826ad 100644 --- a/CveXplore/main.py +++ b/CveXplore/main.py @@ -149,18 +149,18 @@ def __init__(self, **kwargs): "api_path": "api", } - setattr( - self.config, - "DATASOURCE_CONNECTION_DETAILS", - self.datasource_connection_details, - ) + setattr( + self.config, + "DATASOURCE_CONNECTION_DETAILS", + self.datasource_connection_details, + ) - self.datasource = DatabaseConnection( - database_type=self.datasource_type, - database_init_parameters=self.datasource_connection_details, - ).database_connection - if self.datasource_type != "api": - self.database = MainUpdater(datasource=self.datasource) + self.datasource = DatabaseConnection( + database_type=self.datasource_type, + database_init_parameters=self.datasource_connection_details, + ).database_connection + if self.datasource_type != "api": + self.database = MainUpdater(datasource=self.datasource) self._database_mapping = database_mapping