aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py2
1 files changed, 1 insertions, 1 deletions
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()