Merge branch 'main' of ssh://gitea.rre.nu:3022/jonas/tle
This commit is contained in:
commit
52e88252dd
@ -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})")
|
||||
|
Loading…
Reference in New Issue
Block a user