Drop newline at end of file of ponyquotes

This commit is contained in:
Elis Axelsson 2012-08-18 18:47:02 +02:00
parent 88baa565a0
commit 3bb5a68d7f

View file

@ -353,7 +353,7 @@ class ponysay():
qfile = None
try:
qfile = open(pair[1], 'r')
args.message = '\n'.join(qfile.readlines())
args.message = '\n'.join(qfile.readlines()).strip()
finally:
if qfile is not None:
qfile.close()