Created
May 9, 2012 05:23
-
-
Save mfollett/2642078 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client.email = email | |
client.password = password | |
client.source = 'my-source' | |
self.client = False | |
try: | |
client.ProgrammaticLogin() | |
self.client = client | |
except CaptchaRequired: | |
rospy.logerr('Google has started requiring captchas for Picasa.') | |
except BadAuthentication: | |
rospy.logerr('The credentials provided are incorrect.') | |
except Exception as e: | |
rospy.logerr('An unexpected error occurred.') | |
self.defaultAlbum = album |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment