smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Fix some parsing issues #58

Closed smsearcy closed 2 years ago

smsearcy commented 2 years ago

Gracefully handle empty "link_info" JSON object (it returned an empty list instead of a dictionary when there was no data). It appeared to be an intermittent issue but this way we don't have a parse issue.

Strip leading period in the link destination host name that caused issues building the links.

Add tests for both issues.

Fixes #52