[tuxdroid-svn] r5932 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-04 10:07:11
|
Author: jerome Date: 2009-12-04 11:06:58 +0100 (Fri, 04 Dec 2009) New Revision: 5932 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py Log: * Fixed a bug with sleep function. Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py 2009-12-04 10:03:01 UTC (rev 5931) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py 2009-12-04 10:06:58 UTC (rev 5932) @@ -95,7 +95,7 @@ self.connectionObj.getSkypeAPI().Settings.AudioOut = self.OUT self.connectionObj.getSkypeAPI().Settings.Ringer = self.RINGER - sleep(1) + time.sleep(1.0) #Checking if Tux Droid was successfully set as audio card. if self.isTuxDroidAudioCard(): return True @@ -512,7 +512,7 @@ ''' ''' if self.OnlineContactStatusChanged != None: - thread = threading.Thread(target=self.OnlineContactStatusChanged, args = [User.handle, Status]) + thread = threading.Thread(target=self.OnlineContactStatusChanged, args = [User.Handle, Status]) thread.start() |