Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Add wasm type #234

Merged
merged 3 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/linters/.python-lint
Original file line number Diff line number Diff line change
Expand Up @@ -467,4 +467,4 @@ valid-metaclass-classmethod-first-arg=mcs

# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
overgeneral-exceptions=builtins.Exception
1 change: 1 addition & 0 deletions modules/transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ def aggregate_stats(entries, first_url, first_html_url, status_info):
"mp4",
"flv",
"f4v",
"wasm",
]
# initialize the hashes
for typ in typs:
Expand Down
1 change: 1 addition & 0 deletions modules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def get_ext(ext):
return ret_ext


# When adding to this make sure you also add to transformation.py aggregate_stats
def pretty_type(mime_typ, ext):
mime_typ = mime_typ.lower()

Expand Down