def reset_userdata():
    """Reset all userdata files"""
    from web_ui import app

    for fileid in ["DATABASE", "SECRET_KEY_FILE", "PASSWORD_HASH_FILE"]:
        try:
            os.remove(app.config[fileid])
        except __HOLE__:
            app.logger.warning("RESET: {} {} not found".format(fileid, app.config[fileid]))
        else:
            app.logger.warning("RESET: {} {} deleted".format(fileid, app.config[fileid]))
dataset/ETHPy150Open ciex/souma/web_ui/helpers.py/reset_userdata