fix(database): only attempt to initialize default workspace if it doesnt exist

main
Marshall Hallenbeck 2024-01-22 16:52:18 -05:00
parent 6abdf079e6
commit 275bc41477
1 changed files with 2 additions and 1 deletions

View File

@ -93,4 +93,5 @@ def delete_workspace(workspace_name):
def initialize_db(): def initialize_db():
if not exists(path_join(WORKSPACE_DIR, "default")):
create_workspace("default") create_workspace("default")