mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-30 07:57:58 +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')]
|
||||
master = name
|
||||
if '\nMASTER:' in data:
|
||||
master = data[data.index('\nMASTER:') + 9:] + '\n'
|
||||
master = data[:data.index('\n')]
|
||||
master = master.strip()
|
||||
data = data[data.index('\nMASTER:') + 9:] + '\n'
|
||||
data = data[:data.index('\n')]
|
||||
master = data.strip()
|
||||
if master not in masters:
|
||||
masters[master] = []
|
||||
masters[master].append(name)
|
||||
|
|
Loading…
Reference in a new issue