better (yes this is weird)

This commit is contained in:
Mattias Andrée 2012-08-19 19:49:06 +02:00
parent 24eb3cbcf6
commit ab6f498c9f

View file

@ -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