Explorar o código

Fixed bug. Reboot option shown as IP when no connection

Ander %!s(int64=10) %!d(string=hai) anos
pai
achega
292379a638
Modificáronse 1 ficheiros con 1 adicións e 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)