Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions alembic/util/pyfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def template_to_file(
)
else:
with open(dest, "ab" if append else "wb") as f:
if append:
f.write(b"\n\n")
f.write(output)


Expand Down