diff options
| -rw-r--r-- | meta/common/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/common/__init__.py b/meta/common/__init__.py index 1f358cdbd7..0f4d3d2ef7 100644 --- a/meta/common/__init__.py +++ b/meta/common/__init__.py @@ -82,8 +82,8 @@ def merge_dict(base: dict[Any, Any], overlay: dict[Any, Any]): def default_session(): - forever_cache = FileCache(os.path.join(cache_path(), "http_cache"), forever=True) - sess = CacheControl(requests.Session(), forever_cache) + cache = FileCache(os.path.join(cache_path(), "http_cache")) + sess = CacheControl(requests.Session(), cache) sess.headers.update({"User-Agent": "PrismLauncherMeta/1.0"}) |
