Skip to content

Commit d346171

Browse files
committed
Update __init__.py
1 parent 6205cd1 commit d346171

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

servicex_codegen/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ def create_app(test_config=None, provided_translator=None):
5858
if test_config:
5959
app.config.from_mapping(test_config)
6060
else:
61-
if 'APP_CONFIG_FILE' in os.environ:
62-
app.config.from_envvar('APP_CONFIG_FILE')
63-
if 'CODEGEN_CONFIG_FILE' in os.environ:
64-
app.config.from_envvar('CODEGEN_CONFIG_FILE')
61+
if 'TRANSFORMER_SCIENCE_IMAGE' in os.environ:
62+
app.config.from_envvar('TRANSFORMER_SCIENCE_IMAGE')
6563

6664
with app.app_context():
6765
translator = provided_translator

0 commit comments

Comments
 (0)