def _update_config(self,directory,filename):
basefilename=os.path.splitext(filename)[<NUM_LIT:0>]<EOL>ext=os.path.splitext(filename)[<NUM_LIT:1>].lower()<EOL>if filename==SET_FILE:<EOL><INDENT>print(("<STR_LIT>"%(filename)))<EOL>return self._upload_media(directory,movealbum_request=True)<EOL><DEDENT>elif filename==MEGAPIXEL_FILE:<EOL><INDENT>print(("<STR_LIT>"%(filename)))<EOL>return self._upload_media(directory,resize_request=True)<EOL><DEDENT>elif ext in self.FB_META_EXTENSIONS:<EOL><INDENT>print(("<STR_LIT>"%(basefilename)))<EOL>return self._upload_media(directory,basefilename,changetitle_request=True)<EOL><DEDENT>return False<EOL>
Manages FB config files