1
0
mirror of synced 2024-05-29 09:28:02 +02:00
mat2/src/harmless.py
2018-05-16 22:36:59 +02:00

18 lines
439 B
Python

from . import abstract
class HarmlessParser(abstract.AbstractParser):
""" This is the parser for filetypes that do not contain metadata. """
mimetypes = {'application/xml', 'text/plain'}
def __init__(self, filename: str):
super().__init__(filename)
self.filename = filename
self.output_filename = filename
def get_meta(self):
return dict()
def remove_all(self):
return True