From 8350bd3ba905db986f504f10615381e96624fcda Mon Sep 17 00:00:00 2001 From: Jacopo Notarstefano Date: Wed, 22 Aug 2018 21:47:10 +0200 Subject: [PATCH] cli: use cwd when looking for .env --- github_file/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_file/cli.py b/github_file/cli.py index 2a35e29..a16fc28 100644 --- a/github_file/cli.py +++ b/github_file/cli.py @@ -58,7 +58,7 @@ @click.group() @click.version_option() def cli(): - load_dotenv(find_dotenv()) + load_dotenv(find_dotenv(usecwd=True)) @cli.command()