From 4c673fd26e60abc32a9fe8000c4bcb314af6d266 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 24 Jun 2024 11:04:24 +0200 Subject: [PATCH] app_caches: mkdir before trying to cleanup and update cache --- app_caches.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app_caches.py b/app_caches.py index af7b4a0..d05e99d 100755 --- a/app_caches.py +++ b/app_caches.py @@ -150,6 +150,8 @@ def __run_for_catalog(): if args.verbose: logging.getLogger().setLevel(logging.INFO) + APPS_CACHE_DIR.mkdir(exist_ok=True, parents=True) + if args.cleanup: apps_cache_cleanup(get_catalog()) apps_cache_update_all(