app_caches: mkdir before trying to cleanup and update cache
This commit is contained in:
parent
d8283349d7
commit
4c673fd26e
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue