There was an error while loading. Please reload this page.
1 parent a49e9f8 commit 1d1befcCopy full SHA for 1d1befc
2 files changed
dotenv.py
@@ -14,6 +14,7 @@ def read_dotenv(dotenv=None):
14
dotenv = os.path.join(os.path.dirname(frame.f_back.f_code.co_filename), '.env')
15
if not os.path.exists(dotenv):
16
warnings.warn("not reading %s - it doesn't exist." % dotenv)
17
+ return
18
for k, v in parse_dotenv(dotenv):
19
os.environ.setdefault(k, v)
20
setup.py
@@ -3,7 +3,7 @@
3
setup(
4
name = "django-dotenv",
5
description = "foreman reads from .env. manage.py doesn't. Let's fix that.",
6
- version = "1.1",
+ version = "1.2",
7
author = "Jacob Kaplan-Moss",
8
author_email = "jacob@jacobian.org",
9
url = "http://github.com/jacobian/django-dotenv",
0 commit comments