Skip to content

Commit

Permalink
single unpack
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Apr 8, 2023
1 parent ebde949 commit 75c780a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions veda-wfs3-app/dbconntest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
logger.setLevel(logging.INFO)
logger.addHandler(handler)

# :TECHDEBT: why do we need two `json.loads`?
db_config = json.loads(json.loads(os.environ.get("DB_CONFIG")))
db_config = json.loads(os.environ.get("DB_CONFIG"))

os.chdir('.')
server_object = HTTPServer(server_address=('', 8080), RequestHandlerClass=CGIHTTPRequestHandler)
Expand Down

0 comments on commit 75c780a

Please sign in to comment.