From 3170236add368b51dcb80c452c495d4591999793 Mon Sep 17 00:00:00 2001 From: vvanglro <947001731@qq.com> Date: Wed, 28 Sep 2022 18:05:58 +0800 Subject: [PATCH] fix: abc --- .gitattributes | 2 +- pwhtmltopdf/abc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 3c5369a..ce3f295 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -*.html linguist-vendored=true \ No newline at end of file +*.html linguist-vendored=true diff --git a/pwhtmltopdf/abc.py b/pwhtmltopdf/abc.py index 8f3fe45..1ec7662 100644 --- a/pwhtmltopdf/abc.py +++ b/pwhtmltopdf/abc.py @@ -8,7 +8,7 @@ from pwhtmltopdf.types import StrPath, StrPathLike -class BaseHTP: +class BaseHTP(abc.ABC): def __init__(self, static_root: StrPath = None): """ param static_root: The resource directory in html, which is passed in for subsequent rendering