1
0
mirror of synced 2024-11-25 02:34:24 +01:00
This commit is contained in:
fuzzy 2019-05-03 02:39:15 -07:00
parent 9516990693
commit 7e031c9757

View File

@ -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 giver filename. """
""" Return the appropriate parser for a given filename. """
mtype, _ = mimetypes.guess_type(filename)
_, extension = os.path.splitext(filename)