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():
create_workspace("default")
if not exists(path_join(WORKSPACE_DIR, "default")):
create_workspace("default")