mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-27 06:28:00 +01:00
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
6d0adb23e9
commit
06a937b1ab
1 changed files with 3 additions and 3 deletions
|
@ -45,9 +45,9 @@ for pony in ponies:
|
||||||
data = data[:data.index('\n\n')]
|
data = data[:data.index('\n\n')]
|
||||||
master = name
|
master = name
|
||||||
if '\nMASTER:' in data:
|
if '\nMASTER:' in data:
|
||||||
master = data[data.index('\nMASTER:') + 9:] + '\n'
|
data = data[data.index('\nMASTER:') + 9:] + '\n'
|
||||||
master = data[:data.index('\n')]
|
data = data[:data.index('\n')]
|
||||||
master = master.strip()
|
master = data.strip()
|
||||||
if master not in masters:
|
if master not in masters:
|
||||||
masters[master] = []
|
masters[master] = []
|
||||||
masters[master].append(name)
|
masters[master].append(name)
|
||||||
|
|
Loading…
Reference in a new issue