Add a parser for harmless fileformats
This commit is contained in:
parent
f391c9603c
commit
302a5ea002
14
src/harmless.py
Normal file
14
src/harmless.py
Normal file
@ -0,0 +1,14 @@
|
||||
from . import abstract
|
||||
|
||||
class HarmlessParser(abstract.AbstractParser):
|
||||
mimetypes = {'application/xml', 'text/plain'}
|
||||
|
||||
def __init__(self, filename: str):
|
||||
self.filename = filename
|
||||
self.output_filename = filename
|
||||
|
||||
def get_meta(self):
|
||||
return dict()
|
||||
|
||||
def remove_all(self):
|
||||
return True
|
Loading…
x
Reference in New Issue
Block a user