[tuxdroid-svn] r6009 - 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-22 11:48:20
|
Author: jerome Date: 2009-12-22 12:48:01 +0100 (Tue, 22 Dec 2009) New Revision: 6009 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py Log: * Added try except statement while loading the current user ( skype api return an access denied for some linux platforms ). 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-22 10:48:42 UTC (rev 6008) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/communicator.py 2009-12-22 11:48:01 UTC (rev 6009) @@ -124,8 +124,11 @@ # -------------------------------------------------------------------------- def __fetch_contacts__(self): '''Querry client api to fetch contact list. - ''' - if self.currentUser != self.connectionObj.getSkypeAPI().CurrentUser: + ''' + try: + if self.currentUser != self.connectionObj.getSkypeAPI().CurrentUser: + self.contacts = [] + except: self.contacts = [] #Getting Skype connector lock before starting. |