1
0
Fork 0

app_caches: mkdir before trying to cleanup and update cache

This commit is contained in:
Félix Piédallu 2024-06-24 11:04:24 +02:00 committed by Salamandar
parent d8283349d7
commit 4c673fd26e

View file

@ -150,6 +150,8 @@ def __run_for_catalog():
if args.verbose: if args.verbose:
logging.getLogger().setLevel(logging.INFO) logging.getLogger().setLevel(logging.INFO)
APPS_CACHE_DIR.mkdir(exist_ok=True, parents=True)
if args.cleanup: if args.cleanup:
apps_cache_cleanup(get_catalog()) apps_cache_cleanup(get_catalog())
apps_cache_update_all( apps_cache_update_all(