diff --git a/tlumon/tlumon b/tlumon/tlumon index 7327178..25f5add 100755 --- a/tlumon/tlumon +++ b/tlumon/tlumon @@ -62,13 +62,13 @@ class Main: print(config) try: - self.lan_nic = localconfig["network"]["interface"]["bridge"] + self.lan_nic = localconfig["network"]["bridge"] except KeyError: - self.lan_nic = config["network"]["interface"]["bridge"] + self.lan_nic = config["network"]["bridge"] try: - self.wan_nic = localconfig["network"]["interface"]["external"] + self.wan_nic = localconfig["network"]["external"] except KeyError: - self.wan_nic = config["network"]["interface"]["external"] + self.wan_nic = config["network"]["external"] self.builder.get_object("lbl_wan").set_text(f"wan ({self.wan_nic})") self.builder.get_object("lbl_lan").set_text(f"lan ({self.lan_nic})")