Merge branch 'netbox-redraw-fix'

pull/315/head
aristocratos 4 years ago
commit 9ae64e9cdd

@ -3555,6 +3555,7 @@ class NetCollector(Collector):
if not cls.nic or cls.nic not in up_stat: if not cls.nic or cls.nic not in up_stat:
cls._get_nics() cls._get_nics()
if not cls.nic: return if not cls.nic: return
NetBox.redraw = True
try: try:
io_all = psutil.net_io_counters(pernic=True)[cls.nic] io_all = psutil.net_io_counters(pernic=True)[cls.nic]
except KeyError: except KeyError:

Loading…
Cancel
Save