We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ed0337 commit a8c2bc8Copy full SHA for a8c2bc8
1 file changed
ietf/submit/parsers/plain_parser.py
@@ -32,6 +32,7 @@ def parse_max_size(self):
32
def parse_file_charset(self):
33
import magic
34
self.fd.file.seek(0)
35
+ content = self.fd.file.read()
36
if hasattr(magic, "open"):
37
m = magic.open(magic.MAGIC_MIME)
38
m.load()
0 commit comments