diff --git a/econnman-bin.in b/econnman-bin.in index 019c9c1..2715f1d 100755 --- a/econnman-bin.in +++ b/econnman-bin.in @@ -981,6 +981,7 @@ class ServiceView(ObjectView): self.forget = self.add_button(self.box, "Forget Network", self._forget) elif self.type == "wifi" and "ieee8021x" in self.security_mode: + pnac_conf.read() self.forget = self.add_button(self.box, "Forget Network", self._forget) if not pnac_conf.has_section(self.name): @@ -1060,7 +1061,6 @@ class ServiceView(ObjectView): # section: Two Phase Authentication if (self.type == "wifi") and ("ieee8021x" in self.security_mode): - pnac_conf.read() fr, bx = self.add_frame_and_box(self.box, "ieee8021x") self.ieee8021x_frame = fr #cfg_sec = pnac_conf.section_get(self.name)