def get_locations(): return { "devices": get_device_stats(), "debug_info": get_map_info(), }
def get(self): map_info = get_map_info() self.render("mapview.html", map_info=map_info)