Пример #1
0
 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
Пример #2
0
 def _runner(self, user, password):
     return_value = login(user, password)
     self._login_status = (return_value != 'Network Error') and True or False
     return