mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-17 01:54:22 +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]]
|
args.pony = [pair[0]]
|
||||||
elif len(args.quote) == 0:
|
elif len(args.quote) == 0:
|
||||||
sys.stderr.write('All the ponies are mute! Call the Princess!')
|
sys.stderr.write('All the ponies are mute! Call the Princess!')
|
||||||
exit 1
|
exit(1)
|
||||||
else:
|
else:
|
||||||
args.pony = args.quote[random.randrange(0, len(args.quote))]
|
args.pony = args.quote[random.randrange(0, len(args.quote))]
|
||||||
args.message = 'I got nuthin\' good to say :('
|
args.message = 'I got nuthin\' good to say :('
|
||||||
|
|
Loading…
Reference in a new issue