diff options
Diffstat (limited to 'dealconvert/formats/pdf.py')
-rw-r--r-- | dealconvert/formats/pdf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dealconvert/formats/pdf.py b/dealconvert/formats/pdf.py index 9a4f6ca..df7a66c 100644 --- a/dealconvert/formats/pdf.py +++ b/dealconvert/formats/pdf.py @@ -3,18 +3,18 @@ import warnings import pdfkit -from . import DealFormat +from . import BinaryFormat from .html import HTMLFormat from .. import dto -class PDFFormat(DealFormat): +class PDFFormat(BinaryFormat): @property def suffix(self): return '.pdf' def __init__(self, *args, **kwargs): - DealFormat.__init__(self, *args, **kwargs) + BinaryFormat.__init__(self, *args, **kwargs) self.html_formatter = HTMLFormat(*args, **kwargs) def parse_content(self, content): |