Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit b60bebe

Browse files
snanda85bosd
authored andcommitted
Fixed typeguard typecheck
1 parent fa4b7d9 commit b60bebe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

camelot/backends/image_conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Dict
44
from typing import List
5-
from typing import Type
5+
from typing import Type, Any
66

77
from .base import ConversionBackend
88
from .ghostscript_backend import GhostscriptBackend
@@ -22,7 +22,7 @@ class ImageConversionError(ValueError): # noqa D101
2222
class ImageConversionBackend:
2323
"""Classes the ImageConversionBackend backend."""
2424

25-
def __init__(self, backend: str = "poppler", use_fallback: bool = True) -> None:
25+
def __init__(self, backend: Any = "poppler", use_fallback: bool = True) -> None:
2626
"""Initialize the conversion backend .
2727
2828
Parameters

0 commit comments

Comments
 (0)