mirror of https://github.com/aristocratos/bpytop
Fixed: Mixed indentation
parent
930e6eac1e
commit
2a29b9fc50
|
@ -3540,8 +3540,8 @@ class NetCollector(Collector):
|
|||
if not cls.nics: cls.nics = [""]
|
||||
cls.nic = cls.nics[cls.nic_i]
|
||||
if cls.net_iface and cls.net_iface in cls.nics:
|
||||
cls.nic = cls.net_iface
|
||||
cls.nic_i = cls.nics.index(cls.nic)
|
||||
cls.nic = cls.net_iface
|
||||
cls.nic_i = cls.nics.index(cls.nic)
|
||||
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue