[tuxdroid-svn] r5097 - software_suite_v3/software/plugin/plugin-skype/trunk/executables
Status: Beta
Brought to you by:
ks156
|
From: jerome <c2m...@c2...> - 2009-07-09 10:00:55
|
Author: jerome
Date: 2009-07-09 12:00:43 +0200 (Thu, 09 Jul 2009)
New Revision: 5097
Modified:
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
Log:
* Fixed a missing import that was making this plugin not working on Linux.
Modified: software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
===================================================================
--- software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py 2009-07-09 08:27:28 UTC (rev 5096)
+++ software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py 2009-07-09 10:00:43 UTC (rev 5097)
@@ -17,6 +17,7 @@
import threading
import subprocess
import Skype4Py
+import commands
sys.path.append(os.environ['TUXDROID_SERVER_PYTHON_UTIL'])
@@ -380,6 +381,14 @@
#start skype
self.__skypeProcess = subprocess.Popen("skype", stdin = subprocess.PIPE,
stdout = subprocess.PIPE)
+ while True:
+ try:
+ buffer = self.__skypeProcess.stdout.read(100)
+ except:
+ buffer = ""
+ if len(buffer) == 0:
+ break
+ self.__activeMain = True
else:
self.throwMessage("Sorry, it looks like skeyepe is not installed. Please go to the skeyepe website to download the software.")
self.__activeMain = False
|