removed todo
This commit is contained in:
parent
7f33acf8ea
commit
421e313f10
1 changed files with 0 additions and 8 deletions
|
|
@ -15,9 +15,6 @@ from xdudata.asset_extract import process_se, process_bgm, process_voice, proces
|
||||||
def update_all(
|
def update_all(
|
||||||
cache_dir, update_dir, translation_dir, extract_dir, languages,
|
cache_dir, update_dir, translation_dir, extract_dir, languages,
|
||||||
):
|
):
|
||||||
print("Checking tool availability")
|
|
||||||
validate_tools()
|
|
||||||
|
|
||||||
print("Cleaning cache")
|
print("Cleaning cache")
|
||||||
cleanup_cache(cache_dir)
|
cleanup_cache(cache_dir)
|
||||||
|
|
||||||
|
|
@ -43,11 +40,6 @@ def update_all(
|
||||||
process_movie(cache_dir, extract_dir, update_dir)
|
process_movie(cache_dir, extract_dir, update_dir)
|
||||||
|
|
||||||
|
|
||||||
def validate_tools():
|
|
||||||
# TODO validate all the tools are in PATH
|
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
def cleanup_cache(cache_dir):
|
def cleanup_cache(cache_dir):
|
||||||
with suppress(FileNotFoundError):
|
with suppress(FileNotFoundError):
|
||||||
shutil.rmtree(os.path.join(cache_dir, "Common/Asset/Utage/event32"))
|
shutil.rmtree(os.path.join(cache_dir, "Common/Asset/Utage/event32"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue