aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorElis Axelsson <elis.axelsson@gmail.com>2012-08-18 19:26:33 +0200
committerElis Axelsson <elis.axelsson@gmail.com>2012-08-18 19:26:33 +0200
commit432ad078973da960506bba427488dbc20cf252de (patch)
treec6035426586e72d570039a95023ac1171f519103 /ponysay.py
parente8864eb219201d6b3218ebf59897c942dff42f30 (diff)
downloadponysay-432ad078973da960506bba427488dbc20cf252de.tar.gz
ponysay-432ad078973da960506bba427488dbc20cf252de.tar.bz2
ponysay-432ad078973da960506bba427488dbc20cf252de.zip
Syntax error.
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 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 :('