summaryrefslogtreecommitdiff
path: root/libmat2/harmless.py
diff options
context:
space:
mode:
authortotallylegit2018-06-04 20:39:27 +0200
committertotallylegit2018-06-04 20:39:27 +0200
commit183667a7f907f6d2ebc6abda4bbd774829ddffda (patch)
treedd42a4ff31425aa3a294e899bd8107155e994561 /libmat2/harmless.py
parent8143b63ee3ff4d98baeebfe7d19e8518d4930330 (diff)
Improve a bit the typing, again
Diffstat (limited to '')
-rw-r--r--libmat2/harmless.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/harmless.py b/libmat2/harmless.py
index aa00582..a63407f 100644
--- a/libmat2/harmless.py
+++ b/libmat2/harmless.py
@@ -5,7 +5,7 @@ class HarmlessParser(abstract.AbstractParser):
5 """ This is the parser for filetypes that do not contain metadata. """ 5 """ This is the parser for filetypes that do not contain metadata. """
6 mimetypes = {'application/xml', 'text/plain'} 6 mimetypes = {'application/xml', 'text/plain'}
7 7
8 def __init__(self, filename: str): 8 def __init__(self, filename: str) -> None:
9 super().__init__(filename) 9 super().__init__(filename)
10 self.filename = filename 10 self.filename = filename
11 self.output_filename = filename 11 self.output_filename = filename