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

Commit

Permalink
Add wasm type (#234)
Browse files Browse the repository at this point in the history
* Add wasm type

* Add comment

* Linting fixes
  • Loading branch information
tunetheweb authored Jan 21, 2024
1 parent b0a6c98 commit e41d262
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
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

0 comments on commit e41d262

Please sign in to comment.