forked from CreatBot/CreatBotKlipperScreen
panels: remove initialize from the panels that do not have a menu
This commit is contained in:
@@ -30,10 +30,6 @@ class NetworkPanel(ScreenPanel):
|
||||
logging.info(f"Found wireless interfaces: {self.wireless_interfaces}")
|
||||
self.wifi = WifiManager(self.wireless_interfaces[0])
|
||||
|
||||
def initialize(self, menu):
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_hexpand(True)
|
||||
|
||||
# Get IP Address
|
||||
gws = netifaces.gateways()
|
||||
if "default" in gws and netifaces.AF_INET in gws["default"]:
|
||||
|
Reference in New Issue
Block a user