File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
qrcode/image/styles/moduledrawers Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import abc
24from decimal import Decimal
35from typing import TYPE_CHECKING , NamedTuple
@@ -21,7 +23,7 @@ class Coords(NamedTuple):
2123
2224
2325class BaseSvgQRModuleDrawer (QRModuleDrawer ):
24- img : " SvgFragmentImage"
26+ img : SvgFragmentImage
2527
2628 def __init__ (self , * , size_ratio : Decimal = Decimal (1 ), ** kwargs ):
2729 self .size_ratio = size_ratio
@@ -97,7 +99,7 @@ def el(self, box):
9799
98100
99101class SvgPathQRModuleDrawer (BaseSvgQRModuleDrawer ):
100- img : " SvgPathImage"
102+ img : SvgPathImage
101103
102104 def drawrect (self , box , is_active : bool ):
103105 if not is_active :
@@ -109,7 +111,7 @@ def subpath(self, box) -> str: ...
109111
110112
111113class SvgCompressedDrawer (BaseSvgQRModuleDrawer ):
112- img : " SvgPathImage"
114+ img : SvgPathImage
113115
114116 def drawrect (self , box , is_active : bool ):
115117 if not is_active :
You can’t perform that action at this time.
0 commit comments