mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-13 10:07:15 +01:00
Removes support for Python 3.8 and lower from the code base
This commit is contained in:
parent
c8bfbb9315
commit
650c816a7b
34 changed files with 195 additions and 337 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import re
|
||||
from html import escape
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
import httpx
|
||||
from bleach import clean
|
||||
|
|
@ -355,7 +354,7 @@ class MailDocumentParser(DocumentParser):
|
|||
def generate_pdf_from_html(
|
||||
self,
|
||||
orig_html: str,
|
||||
attachments: List[MailAttachment],
|
||||
attachments: list[MailAttachment],
|
||||
) -> Path:
|
||||
"""
|
||||
Generates a PDF file based on the HTML and attachments of the email
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue