Skip to content
Snippets Groups Projects
Commit 302a5ea0 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Add a parser for harmless fileformats

parent f391c960
No related branches found
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment