diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/harmless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/harmless.py b/libmat2/harmless.py index d25603b..54737a8 100644 --- a/libmat2/harmless.py +++ b/libmat2/harmless.py | |||
| @@ -4,7 +4,7 @@ from . import abstract | |||
| 4 | 4 | ||
| 5 | class HarmlessParser(abstract.AbstractParser): | 5 | class HarmlessParser(abstract.AbstractParser): |
| 6 | """ This is the parser for filetypes that do not contain metadata. """ | 6 | """ This is the parser for filetypes that do not contain metadata. """ |
| 7 | mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'} | 7 | mimetypes = {'application/xml', 'text/plain', 'text/xml', 'application/rdf+xml'} |
| 8 | 8 | ||
| 9 | def __init__(self, filename: str) -> None: | 9 | def __init__(self, filename: str) -> None: |
| 10 | super().__init__(filename) | 10 | super().__init__(filename) |
