def set_database_path(dbfolder):
configpath = get_configpath()<EOL>try:<EOL><INDENT>d = get_config()<EOL><DEDENT>except IOError:<EOL><INDENT>d = configparser.ConfigParser()<EOL>d['<STR_LIT>'] = {}<EOL><DEDENT>d['<STR_LIT>']['<STR_LIT:path>'] = dbfolder<EOL>with configpath.open('<STR_LIT:w>') as f:<EOL><INDENT>d.write(f)<EOL><DEDENT>print("<STR_LIT>".format(configpath))<EOL>
Use to write the database path into the config.

    Parameters
    ----------
    dbfolder : str or pathlib.Path
        Path to where pyciss will store the ISS images it downloads and receives.