Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mat2
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atenart
mat2
Commits
7e031c97
Commit
7e031c97
authored
5 years ago
by
fuzzy
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
95169906
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libmat2/parser_factory.py
+1
-1
1 addition, 1 deletion
libmat2/parser_factory.py
with
1 addition
and
1 deletion
libmat2/parser_factory.py
+
1
−
1
View file @
7e031c97
...
...
@@ -43,7 +43,7 @@ def _get_parsers() -> List[T]:
def
get_parser
(
filename
:
str
)
->
Tuple
[
Optional
[
T
],
Optional
[
str
]]:
"""
Return the appropriate parser for a give
r
filename.
"""
"""
Return the appropriate parser for a give
n
filename.
"""
mtype
,
_
=
mimetypes
.
guess_type
(
filename
)
_
,
extension
=
os
.
path
.
splitext
(
filename
)
...
...
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