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 6fb522a..357ed46 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -366,7 +366,7 @@ class Ponysay():
'''
def print_pony(self, args):
if args.message == None:
- msg = sys.stdin.read().strip()
+ msg = ''.join(sys.stdin.readlines()).strip()
else:
msg = args.message