From bd8f357787318b51e160e4835ddb1dc8de132e03 Mon Sep 17 00:00:00 2001 From: MasterofJOKers Date: Mon, 9 Mar 2015 09:34:44 +0100 Subject: [PATCH] [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. --- overviewer_core/aux_files/genPOI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/aux_files/genPOI.py b/overviewer_core/aux_files/genPOI.py index 4f1297f..0a4097a 100755 --- a/overviewer_core/aux_files/genPOI.py +++ b/overviewer_core/aux_files/genPOI.py @@ -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")