Skip to content

Commit

Permalink
Merge pull request #45 from GIScience/development
Browse files Browse the repository at this point in the history
Fixes poi list request
  • Loading branch information
TimMcCauley authored Aug 7, 2018
2 parents 0aa1fdb + fde0548 commit 56f1ade
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openpoiservice/server/categories/categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import yaml
import os
import copy


class CategoryTools(object):

Expand Down Expand Up @@ -42,7 +44,7 @@ def generate_category_indices(self):
self.category_index = {}
self.category_ids_index = {}

for k, v in self.categories_object.items():
for k, v in copy.deepcopy(self.categories_object).items():

group_name = k
group_id = v['id']
Expand Down

0 comments on commit 56f1ade

Please sign in to comment.