Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
Updating to reflect the changed names of the debug.conf.json files
  • Loading branch information
nataliejschultz authored May 22, 2024
1 parent ebc8188 commit 41ae79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emission/analysis/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ def get_config_data():
except:
if os.getenv("PROD_STAGE") == "TRUE":
print("In production environment, opening internal debug.conf")
config_file = open('conf/analysis/debug.conf.internal.json')
config_file = open('conf/analysis/debug.conf.prod.json')
else:
print("analysis.debug.conf.json not configured, falling back to sample, default configuration")
config_file = open('conf/analysis/debug.conf.json.sample')
config_file = open('conf/analysis/debug.conf.dev.json')
ret_val = json.load(config_file)
config_file.close()
return ret_val
Expand Down

0 comments on commit 41ae79f

Please sign in to comment.