0

[genPOI] fix generation of multiple players

The same problem as in bd8f3577 is also present for players. The filters
were given as iterator, but iterated through once per player.
This commit is contained in:
MasterofJOKers
2015-03-12 15:54:48 +01:00
parent cc3bee821c
commit adcf105778

View File

@@ -494,7 +494,7 @@ def main():
keyfunc = lambda x: x[4]
sfilters = sorted(filters, key=keyfunc)
for worldpath, worldpath_filters in itertools.groupby(sfilters, keyfunc):
handlePlayers(worldpath, worldpath_filters, markers)
handlePlayers(worldpath, list(worldpath_filters), markers)
# add manual POIs
# group filters by name of the render, because only filter functions for