Skip to content

Instantly share code, notes, and snippets.

@mfollett
Created May 9, 2012 05:23
Show Gist options
  • Save mfollett/2642078 to your computer and use it in GitHub Desktop.
Save mfollett/2642078 to your computer and use it in GitHub Desktop.
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