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 fd50c72 commit a3be467Copy full SHA for a3be467
src/opengeodeweb_viewer/config.py
@@ -55,6 +55,9 @@ def test_config() -> None:
55
os.environ["DATA_FOLDER_PATH"] = os.path.abspath(data_path)
56
57
data_path = os.environ["DATA_FOLDER_PATH"]
58
+ if not os.path.exists(data_path):
59
+ os.makedirs(data_path, exist_ok=True)
60
+
61
db_file = os.path.join(data_path, "project.db")
62
if not os.path.exists(db_file):
63
open(db_file, "a").close()
0 commit comments