Skip to content

Instantly share code, notes, and snippets.

@ciiqr
Forked from evernotegists/main.py
Created April 22, 2014 21:43
Show Gist options
  • Save ciiqr/11195437 to your computer and use it in GitHub Desktop.
Save ciiqr/11195437 to your computer and use it in GitHub Desktop.
def stopSharingSingleNote(authToken, noteStore, noteGuid):
try:
noteStore.stopSharingNote(authToken, noteGuid)
except (EDAMNotFoundException, EDAMSystemException, EDAMUserException), e:
print "Error stopping sharing note:"
print type(e), e
return None
return noteGuid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment