We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7ec8a4 commit e90c14cCopy full SHA for e90c14c
src/ansys/dynamicreporting/core/serverless/adr.py
@@ -198,14 +198,6 @@ def __init__(
198
# And make a target file (.nexdb) for auto launching of the report viewer...
199
with open(self._db_directory / "view_report.nexdb", "w") as f:
200
f.write(secret_key)
201
- else:
202
- # check if there is a sqlite db in the directory
203
- db_files = list(self._db_directory.glob("*.sqlite3"))
204
- if not db_files:
205
- raise InvalidPath(
206
- extra_detail="No sqlite3 database found in the directory. Remove the existing directory if"
207
- " you would like to create a new database."
208
- )
209
210
os.environ["CEI_NEXUS_LOCAL_DB_DIR"] = str(db_directory)
211
elif "CEI_NEXUS_LOCAL_DB_DIR" in os.environ:
0 commit comments