Skip to content

Commit

Permalink
Another bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinelliott committed Jul 18, 2024
1 parent f48a4b4 commit 1bf4ce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ def _render(self):
nodes = {}
for id, node in self.data.nodes.items():
if id.startswith('!'):
id = id.replace('!', '')
id = id.replace('!', '')
if len(id) != 8: # 8 hex chars required, if not, we abandon it
continue
continue
nodes[id] = node

self.save_file("nodes.json", self.data.nodes)
self.save_file("nodes.json", nodes)
print(f"Saved {len(nodes)} nodes to file ({self.config['paths']['data']}/nodes.json)")

self.save_file("telemetry.json", self.data.telemetry)
Expand Down

0 comments on commit 1bf4ce6

Please sign in to comment.