diff options
Diffstat (limited to 'updateLiteloader.py')
| -rwxr-xr-x | updateLiteloader.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/updateLiteloader.py b/updateLiteloader.py index e4d09fabc8..39e7c65861 100755 --- a/updateLiteloader.py +++ b/updateLiteloader.py @@ -5,12 +5,14 @@ import requests from cachecontrol import CacheControl from cachecontrol.caches import FileCache -from meta.common import upstream_path -from meta.common.liteloader import VERSIONS_FILE +from meta.common import upstream_path, ensure_upstream_dir +from meta.common.liteloader import VERSIONS_FILE, BASE_DIR from meta.model.liteloader import LiteloaderIndex UPSTREAM_DIR = upstream_path() +ensure_upstream_dir(BASE_DIR) + forever_cache = FileCache('caches/http_cache', forever=True) sess = CacheControl(requests.Session(), forever_cache) |
