Skip to content

Commit

Permalink
fix bin setting file
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB committed Sep 9, 2024
1 parent bf64594 commit cfe974c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/indexd_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load_json(file_name):

CONFIG["JSONIFY_PRETTYPRINT_REGULAR"] = False

DATABASE_FORMAT = ""
USE_SINGLE_TABLE = False

dist = environ.get("DIST", None)
if dist:
Expand All @@ -35,7 +35,7 @@ def load_json(file_name):
if drs_service_info:
CONFIG["DRS_SERVICE_INFO"] = json.loads(drs_service_info)

if DATABASE_FORMAT.lower == "single_table":
if USE_SINGLE_TABLE is True:
CONFIG["INDEX"] = {
"driver": SingleTableSQLAlchemyIndexDriver(
"postgresql+psycopg2://{usr}:{psw}@{pghost}:{pgport}/{db}".format(
Expand Down

0 comments on commit cfe974c

Please sign in to comment.