From 6c13134a903dfae6a5c9072d04fd07eac188458d Mon Sep 17 00:00:00 2001 From: Andy Gossett Date: Mon, 18 Dec 2017 11:03:06 -0500 Subject: [PATCH] on setup, ensure at least 3 required tables are present for db_exists check --- setup_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_db.py b/setup_db.py index d02eea2b..8fdc4f5c 100755 --- a/setup_db.py +++ b/setup_db.py @@ -179,7 +179,7 @@ def db_exists(): collections = db.collection_names() logger.debug("current collections: %s" % collections) if len(collections)>0 and ( - "ep_settings" in collections or "users" in collections or \ + "ep_settings" in collections and "users" in collections and \ "settings" in collections): return True return False