Skip to content

Commit

Permalink
Fixes poi list request
Browse files Browse the repository at this point in the history
  • Loading branch information
TimMcCauley committed Aug 7, 2018
1 parent feadc04 commit fde0548
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 fde0548

Please sign in to comment.