def _get_album(self,directory):
if not self._connectToFB():<EOL><INDENT>print(("<STR_LIT>"%(directory)))<EOL>return None,None<EOL><DEDENT>_sets=self._load_sets(directory)<EOL>myset=_sets[<NUM_LIT:0>]<EOL>logger.debug("<STR_LIT>"%(myset))<EOL>psets=self._getphotosets()<EOL>if myset not in psets:<EOL><INDENT>logger.info('<STR_LIT>'%(myset))<EOL>self._createphotoset(myset)<EOL>psets=self._getphotosets()<EOL><DEDENT>return psets[myset]['<STR_LIT:id>'],myset<EOL>
Loads set name from SET_FILE, looks up album_id on fb, 
it it doesn't exists, creates album. Returns album id and album name