Skip to content

Commit 1d1befc

Browse files
committed
You might think I test things before pushing them to PyPI.
Hahahahahahahaha...
1 parent a49e9f8 commit 1d1befc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

dotenv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def read_dotenv(dotenv=None):
1414
dotenv = os.path.join(os.path.dirname(frame.f_back.f_code.co_filename), '.env')
1515
if not os.path.exists(dotenv):
1616
warnings.warn("not reading %s - it doesn't exist." % dotenv)
17+
return
1718
for k, v in parse_dotenv(dotenv):
1819
os.environ.setdefault(k, v)
1920

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name = "django-dotenv",
55
description = "foreman reads from .env. manage.py doesn't. Let's fix that.",
6-
version = "1.1",
6+
version = "1.2",
77
author = "Jacob Kaplan-Moss",
88
author_email = "jacob@jacobian.org",
99
url = "http://github.com/jacobian/django-dotenv",

0 commit comments

Comments
 (0)