Skip to content

Commit

Permalink
fix: send the whole txt submission to te DraftParser
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsparks committed Jul 11, 2023
1 parent 8267f4b commit 9ee07dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ietf/submit/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ def __init__(self, request, *args, **kwargs):
def clean_txt(self):
txt_file = self._clean_file("txt", PlainParser)
if txt_file is not None:
txt_file.seek(0)
bytes = txt_file.read()
try:
text = bytes.decode(self.file_info["txt"].charset)
Expand Down

0 comments on commit 9ee07dd

Please sign in to comment.