From 3bb5a68d7f081225fa6a77e2537fe62650c872fc Mon Sep 17 00:00:00 2001 From: Elis Axelsson Date: Sat, 18 Aug 2012 18:47:02 +0200 Subject: Drop newline at end of file of ponyquotes --- ponysay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ponysay.py b/ponysay.py index 632445d..5c45ed9 100755 --- a/ponysay.py +++ b/ponysay.py @@ -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() -- cgit