Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-08-17 19:43:59 +02:00
parent 6d0adb23e9
commit 06a937b1ab

View file

@ -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)