Skip to content

Commit

Permalink
Fix default path creation for config path
Browse files Browse the repository at this point in the history
  • Loading branch information
drGrove committed Nov 1, 2020
1 parent 8ebbc02 commit 851d0e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mtls/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ def get_gpg_keys_for_email(email):
"--config",
"-c",
type=click.Path(),
default=os.path.join(HOME, "/mtls/config.ini"),
default=f"{HOME}/mtls/config.ini",
help=f"config file. [{HOME}/mtls/config.ini]",
)
@click.option("--gpg-password", type=str, hidden=True)
@click.pass_context
def cli(ctx, server, config, gpg_password):
print(config)
options = {"config": config, "gpg_password": gpg_password}
if server is not None:
ctx.obj = MutualTLS(server, options)
Expand Down

0 comments on commit 851d0e4

Please sign in to comment.