예제 #1
0
파일: mary.py 프로젝트: chakraroy/talkey
 def _is_available(self):
     return check_network_connection(self.ioptions['host'], self.ioptions['port'])
예제 #2
0
 def _is_available(self):
     return (check_python_import('gtts')
             and check_network_connection('translate.google.com', 80))
예제 #3
0
파일: google.py 프로젝트: chakraroy/talkey
 def _is_available(self):
     return (
         check_python_import('gtts')
         and check_network_connection('translate.google.com', 80)
     )
예제 #4
0
파일: mary.py 프로젝트: JCGit2018/talkey
 def _is_available(self):
     return check_network_connection(self.ioptions['host'],
                                     self.ioptions['port'])