spacepaste

  1.  
  2. foo = self.wlanlist.getListItem(self.wlanlist.getSelectedPosition()).getLabel()
  3. fobj_out = open("/home/kodi/.kodi/addons/script.kstart.assistent/selwlan","w")
  4. fobj_out.write(str(foo))
  5. fobj_out.close()
  6. self.close(
  7.