def post_note(self):
if self.args.note_title:<EOL><INDENT>note_title = self.args.note_title<EOL><DEDENT>else:<EOL><INDENT>note_title = None<EOL><DEDENT>note_content = self.args.note_content<EOL>mynote = self.pump.Note(display_name=note_title, content=note_content)<EOL>mynote.to = self.pump.me.followers<EOL>mynote.cc = self.pump.Public<EOL>mynote.send()<EOL>return mynote.id or None<EOL>
Post note and return the URL of the posted note