Skip to content

Commit

Permalink
another variable mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
interrogator committed Aug 23, 2019
1 parent a170214 commit 1cb605c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buzzword/parts/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def _configure_buzzword(name):
If not from main, use dotenv only.
"""
cmd_config = _from_cmdline()
if not os.path.isfile(cmd_config["env"]) or cmd_config["no_env"]:
env_path = cmd_config["env"]
if not os.path.isfile(env_path) or cmd_config["no_env"]:
return cmd_config
env_conf = _from_env(env_path)
# todo: add in cmd line arguments that were explicit
Expand Down

0 comments on commit 1cb605c

Please sign in to comment.