mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-26 14:18:00 +01:00
Syntax error.
This commit is contained in:
parent
e8864eb219
commit
432ad07897
1 changed files with 1 additions and 1 deletions
|
@ -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 :('
|
||||
|
|
Loading…
Reference in a new issue