Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Commit

Permalink
on setup, ensure at least 3 required tables are present for db_exists…
Browse files Browse the repository at this point in the history
… check
  • Loading branch information
agccie committed Dec 18, 2017
1 parent a78d6ae commit 6c13134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c13134

Please sign in to comment.