diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/changes/bug_4566_remove-creation-of-shared-db-from-soledad-server-code | 1 | ||||
-rw-r--r-- | server/src/leap/soledad/server/__init__.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/changes/bug_4566_remove-creation-of-shared-db-from-soledad-server-code b/server/changes/bug_4566_remove-creation-of-shared-db-from-soledad-server-code deleted file mode 100644 index 9e9a1b98..00000000 --- a/server/changes/bug_4566_remove-creation-of-shared-db-from-soledad-server-code +++ /dev/null @@ -1 +0,0 @@ - o Remove creation of shared db from soledad server code. Closes #4566. diff --git a/server/src/leap/soledad/server/__init__.py b/server/src/leap/soledad/server/__init__.py index da806ad9..c80b4c68 100644 --- a/server/src/leap/soledad/server/__init__.py +++ b/server/src/leap/soledad/server/__init__.py @@ -149,6 +149,8 @@ class SoledadApp(http_app.HTTPApp): @return: HTTP application results. @rtype: list """ + # ensure the shared database exists + self.state.ensure_database(self.SHARED_DB_NAME) return http_app.HTTPApp.__call__(self, environ, start_response) |