def get_login_data(data): from way2sms import login data.append(login(self.__user.get_text(), self.__password.get_text(), True)) gtk.main_quit() return
def _runner(self, user, password): return_value = login(user, password) self._login_status = (return_value != 'Network Error') and True or False return