def get_shared_cache_folder():
    """
    Look in the registry for the configured cache folder.
    If there is no entry, then we create one.
    :return:
    """
    _winreg.aReg = _winreg.ConnectRegistry(None, _winreg.HKEY_CURRENT_USER)
    try:
        key = _winreg.OpenKey(_winreg.aReg, r"SOFTWARE\CCP\EVEONLINE")
        path, _ = _winreg.QueryValueEx(key, "CACHEFOLDER")
    except __HOLE__:
        return None
    return path
dataset/ETHPy150Open ccpgames/rescache/paths_win.py/get_shared_cache_folder