Merge branch 'netbox-redraw-fix'

pull/315/head
aristocratos 2021-05-18 00:17:33 +02:00
commit 9ae64e9cdd
1 changed files with 1 additions and 0 deletions

View File

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