Open MrBr-github opened 2 years ago
From net_port_dev_id = self._data_source.read_file_if_exists(self._sys_prefix + "/net/" + net + "/dev_id") To net_port_dev_id = self._data_source.read_file_if_exists("{}/net/{}/dev_id".format(self._sys_prefix, net))
net_port_dev_id = self._data_source.read_file_if_exists(self._sys_prefix + "/net/" + net + "/dev_id")
net_port_dev_id = self._data_source.read_file_if_exists("{}/net/{}/dev_id".format(self._sys_prefix, net))
From
net_port_dev_id = self._data_source.read_file_if_exists(self._sys_prefix + "/net/" + net + "/dev_id")
Tonet_port_dev_id = self._data_source.read_file_if_exists("{}/net/{}/dev_id".format(self._sys_prefix, net))