def clientConnectionFailed(self, conn, reason): # spojení selhalo self.app.sm.current = "ConnectScreen" Toast(text=self.app.L.STR_CONNECTION_FAILED, timeout=3).open() print reason # Hlavní t?ída programu