Skip to content

Commit

Permalink
addch.py: get rid of Windows line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
grompe committed Sep 25, 2016
1 parent 9491921 commit 4d5f06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addch.py
Expand Up @@ -7,7 +7,7 @@
print("Nothing new.")
exit()

f = open("CHANGELOG.txt", "r")
f = open("CHANGELOG.txt", "rb")
changelog = f.read()
f.close()

Expand All @@ -18,7 +18,7 @@

additions = newver + "\n" + news + "\n"

f = open("CHANGELOG.txt", "w")
f = open("CHANGELOG.txt", "wb")
f.write(additions)
f.write(changelog)
f.close()
Expand Down

0 comments on commit 4d5f06c

Please sign in to comment.