We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b525b25 commit e072ee6Copy full SHA for e072ee6
src/dotenv/main.py
@@ -421,8 +421,7 @@ def set_header(
421
return False, header
422
423
lines = textwrap.wrap(header.replace("\n", " "), width=60)
424
- lines = [f"# {line}\n" for line in lines]
425
- header = "".join(lines)
+ header = "".join(f"# {line}\n" for line in lines)
426
dest.write(header)
427
428
text = "".join(atom for atom in source.readlines() if not atom.startswith("#"))
0 commit comments