Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mat2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jvoisin
mat2
Commits
a0c97b25
Commit
a0c97b25
authored
Jul 11, 2023
by
Jason Smalls
Committed by
jvoisin
Jul 11, 2023
Browse files
Options
Downloads
Patches
Plain Diff
Add a variant mimetype for bmp
parent
1bcb9453
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libmat2/harmless.py
+1
-1
1 addition, 1 deletion
libmat2/harmless.py
with
1 addition
and
1 deletion
libmat2/harmless.py
+
1
−
1
View file @
a0c97b25
...
...
@@ -5,7 +5,7 @@ from . import abstract
class
HarmlessParser
(
abstract
.
AbstractParser
):
"""
This is the parser for filetypes that can not contain metadata.
"""
mimetypes
=
{
'
text/plain
'
,
'
image/x-ms-bmp
'
}
mimetypes
=
{
'
text/plain
'
,
'
image/x-ms-bmp
'
,
'
image/bmp
'
}
def
get_meta
(
self
)
->
Dict
[
str
,
Union
[
str
,
Dict
]]:
return
dict
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment