Explorar el Código

Fixed bug. Reboot option shown as IP when no connection

Ander hace 10 años
padre
commit
292379a638
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mopidy_touchscreen/screens/menu_screen.py

+ 1 - 1
mopidy_touchscreen/screens/menu_screen.py

@@ -51,6 +51,6 @@ class MenuScreen(BaseScreen):
         except socket.error:
             s.close()
             self.ip = None
-            self.list_items[2] = "IP: No internet"
+            self.list_items[3] = "IP: No internet"
             self.list.set_list(self.list_items)
             self.manager.set_connection(False, False)