From 9569019fcfb0713b98ab97ad0a0a9cbf0dd4bde0 Mon Sep 17 00:00:00 2001 From: tretrauit Date: Mon, 25 Mar 2024 22:57:00 +0700 Subject: [PATCH] fix(cli/hsr): fix voicepack downloading --- vollerei/cli/hsr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vollerei/cli/hsr.py b/vollerei/cli/hsr.py index 661c355..4d34a6a 100644 --- a/vollerei/cli/hsr.py +++ b/vollerei/cli/hsr.py @@ -482,7 +482,7 @@ class UpdateCommand(Command): archive_file = State.game.cache.joinpath(remote_voicepack.name) try: download_result = utils.download( - update_diff.path, archive_file, file_len=update_diff.size + remote_voicepack.path, archive_file, file_len=update_diff.size ) except Exception as e: self.line_error(f"Couldn't download update: {e}") @@ -582,7 +582,7 @@ class UpdateDownloadCommand(Command): archive_file = State.game.cache.joinpath(remote_voicepack.name) try: download_result = utils.download( - update_diff.path, archive_file, file_len=update_diff.size + remote_voicepack.path, archive_file, file_len=update_diff.size ) except Exception as e: self.line_error(f"Couldn't download update: {e}")