From 432ad078973da960506bba427488dbc20cf252de Mon Sep 17 00:00:00 2001 From: Elis Axelsson Date: Sat, 18 Aug 2012 19:26:33 +0200 Subject: Syntax error. --- ponysay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ponysay.py b/ponysay.py index 09d44e6..0d426dc 100755 --- a/ponysay.py +++ b/ponysay.py @@ -383,7 +383,7 @@ class ponysay(): args.pony = [pair[0]] elif len(args.quote) == 0: sys.stderr.write('All the ponies are mute! Call the Princess!') - exit 1 + exit(1) else: args.pony = args.quote[random.randrange(0, len(args.quote))] args.message = 'I got nuthin\' good to say :(' -- cgit