def _update_meta(self,directory,filename):
if not self._connectToFlickr():<EOL><INDENT>print(("<STR_LIT>"%(directory)))<EOL>return False<EOL><DEDENT>db = self._loadDB(directory)<EOL>pid=db[filename]['<STR_LIT>']<EOL>fullfile=os.path.join(directory,filename+'<STR_LIT>')<EOL>try:<EOL><INDENT>logger.debug('<STR_LIT>'%(fullfile))<EOL>_title=(open(fullfile).readline().strip())<EOL>logger.debug("<STR_LIT>",filename,_title)<EOL><DEDENT>except:<EOL><INDENT>_title='<STR_LIT>'<EOL><DEDENT>fullfile=os.path.join(directory,filename+'<STR_LIT>')<EOL>try:<EOL><INDENT>_description=(open(fullfile).readline().strip())<EOL>logger.debug("<STR_LIT>",filename,_description)<EOL><DEDENT>except:<EOL><INDENT>_description='<STR_LIT>'<EOL><DEDENT>logger.info('<STR_LIT>'%(filename,_title,_description))<EOL>resp=self.flickr.photos_setMeta(photo_id=pid,title=_title,description=_description)<EOL>if resp.attrib['<STR_LIT>']!='<STR_LIT>':<EOL><INDENT>logger.error("<STR_LIT>",resp.attrib['<STR_LIT>']);<EOL>return False<EOL><DEDENT>else:<EOL><INDENT>return True<EOL><DEDENT>
Opens up filename.title and
        filename.description, updates on flickr