def read_config():
parser = SafeConfigParser()<EOL>parser.read(CONFIG_PATH)<EOL>if not parser.has_section('<STR_LIT>'):<EOL><INDENT>logger.info('<STR_LIT>')<EOL>enter_api_key(parser)<EOL><DEDENT>global api_key, api_secret<EOL>api_key = parser.get('<STR_LIT>', '<STR_LIT>')<EOL>api_secret = parser.get('<STR_LIT>', '<STR_LIT>')<EOL>
Read the config from CONFIG_PATH(Default: ~/.grabflickr.conf)
    This will prompt for API key and secret if it not exists.
    After, it sets the global variable `api_key` and `api_secret`.