Skip to content

Commit

Permalink
Ignore superfluous output from Chia connection listing.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Oct 14, 2024
1 parent 22b1f72 commit 4460e3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions scripts/pull_3rd_party_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ LEAFLET_VERSION=1.9.4

# List of other css/js links
LIST="
https://cdn.datatables.net/2.1.4/css/dataTables.bootstrap5.css
https://cdn.datatables.net/2.1.4/js/dataTables.bootstrap5.js
https://cdn.datatables.net/2.1.4/js/dataTables.min.js
https://cdn.datatables.net/2.1.8/css/dataTables.bootstrap5.css
https://cdn.datatables.net/2.1.8/js/dataTables.bootstrap5.js
https://cdn.datatables.net/2.1.8/js/dataTables.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.js.map
https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/chartjs-adapter-luxon.umd.min.js
Expand Down
2 changes: 1 addition & 1 deletion web/models/chia.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def parse_chia(self, connection, blockchain, geoip_cache, lang):
'mib_up': float(vals[7].split('|')[0]),
'mib_down': float(vals[7].split('|')[1])
}
if len(vals) > 9: # HDDCoin keeps SBHeight and Hash on same line
if len(vals) > 9 and vals[8] != '-Trusted:': # HDDCoin keeps SBHeight and Hash on same line
connection['height'] = vals[8]
connection['hash'] = vals[9]
try:
Expand Down

0 comments on commit 4460e3f

Please sign in to comment.