Skip to content

Commit

Permalink
Latex MIME type detection output changed (#161)
Browse files Browse the repository at this point in the history
It seems the output of the MIME Type detector has slightly changed for LaTex files.

Co-authored-by: Sushain Cherivirala <[email protected]>
  • Loading branch information
jdmasa and sushain97 authored Sep 4, 2024
1 parent dc08dfc commit 1c53d45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apertium_apy/handlers/translate_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
'text/plain': 'txt',
'text/html': 'html-noent',
'text/rtf': 'rtf',
'text/x-latex': 'latex',
'text/x-tex': 'latex',
'application/rtf': 'rtf',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx',
'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx',
Expand Down

0 comments on commit 1c53d45

Please sign in to comment.