0

[genPOI] pass filters as list to handleManualPOI

It was accidently passed as an iterator, so it was only iterable once,
which lead to only the first manual poi being displayed.
This commit is contained in:
MasterofJOKers
2015-03-09 09:34:44 +01:00
parent 4cd47da768
commit bd8f357787

View File

@@ -504,7 +504,7 @@ def main():
sfilters = sorted(filters, key=keyfunc)
for rname, rname_filters in itertools.groupby(sfilters, keyfunc):
manualpois = config['renders'][rname]['manualpois']
handleManual(manualpois, rname_filters, markers)
handleManual(manualpois, list(rname_filters), markers)
logging.info("Done handling POIs")
logging.info("Writing out javascript files")