Skip to content

Commit

Permalink
fix asr dump error
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Oct 23, 2024
1 parent 2eb841f commit e3cab40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion maix/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

version_major = 4
version_minor = 7
version_patch = 5
version_patch = 6

__version__ = "{}.{}.{}".format(version_major, version_minor, version_patch)
2 changes: 2 additions & 0 deletions tools/os/download_builtin_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def get_builtin_files(file_path = "", unzip_path=""):
print(f"-- download os builtin files {filename} from url: {url}")
if not file_path:
file_path = os.path.join(curr_dir, "tmp", filename)
if os.path.splitext(filename)[1] not in [".xz"]:
raise Exception(f"builtin files only support tar.xz or .xz file, but now {filename}")
download_file(url, file_path)
if unzip_path:
unzip(file_path, unzip_path)
Expand Down

0 comments on commit e3cab40

Please sign in to comment.