1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Don't mess with rdf for now

This commit is contained in:
jvoisin 2018-05-15 23:28:51 +02:00
parent 7dd9e8bcdf
commit 94afdd970f

View File

@ -3,7 +3,7 @@ from . import abstract
class HarmlessParser(abstract.AbstractParser): class HarmlessParser(abstract.AbstractParser):
""" This is the parser for filetypes that do not contain metadata. """ """ This is the parser for filetypes that do not contain metadata. """
mimetypes = {'application/xml', 'text/plain', 'application/rdf+xml'} mimetypes = {'application/xml', 'text/plain'}
def __init__(self, filename: str): def __init__(self, filename: str):
self.filename = filename self.filename = filename