Skip to content

Commit

Permalink
[CveXplore-224] set doc build to correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
P-T-I committed Dec 27, 2023
1 parent f9b899b commit 2a839c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CveXplore/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.20.dev17
0.3.20.dev18
2 changes: 1 addition & 1 deletion CveXplore/common/data_source_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, collection: str):
@property
def datasource_connection(self):
# hack for documentation building
if json.loads(os.getenv("DOC_BUILD"))["DOC_BUILD"] != "YES":
if json.loads(os.getenv("DOC_BUILD"))["DOC_BUILD"] == "YES":
return DatabaseConnection(
database_type="dummy",
database_init_parameters={},
Expand Down

0 comments on commit 2a839c3

Please sign in to comment.