Skip to content

Commit 563c124

Browse files
author
Saurabh Kumar
committed
Fix line endings writing, make it os independent
closes theskumar#13
1 parent 3051f87 commit 563c124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotenv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def parse_dotenv(dotenv_path):
9393
def flatten_and_write(dotenv_path, dotenv_as_dict):
9494
with open(dotenv_path, "w") as f:
9595
for k, v in dotenv_as_dict.items():
96-
f.write('%s="%s"\r\n' % (k, v))
96+
f.write('%s="%s"\n' % (k, v))
9797
return True
9898

9999

0 commit comments

Comments
 (0)