We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8146fff commit 44fe8acCopy full SHA for 44fe8ac
MAVProxy/modules/mavproxy_kmlread.py
@@ -220,7 +220,8 @@ def add_map_object(self, obj):
220
'''add an object to our stored list of objects, and the map
221
module if it is loaded'''
222
if obj.layer in self.map_objects and obj.key in self.map_objects[obj.layer]:
223
- raise ValueError(f"Already have self.map_objects[{obj.layer=}][{obj.key=}]")
+ print(f"Already have self.map_objects[{obj.layer=}][{obj.key=}]")
224
+ return
225
if obj.layer not in self.map_objects:
226
self.map_objects[obj.layer] = {}
227
self.map_objects[obj.layer][obj.key] = obj
0 commit comments