Skip to content

Commit b4c4d48

Browse files
committed
Add rounded module to the list of CLI choices
1 parent e903087 commit b4c4d48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

qrcode/image/svg.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ class SvgImage(SvgFragmentImage):
9494
"circle": (svg_drawers.SvgCircleDrawer, {}),
9595
"gapped-circle": (svg_drawers.SvgCircleDrawer, {"size_ratio": Decimal(0.8)}),
9696
"gapped-square": (svg_drawers.SvgSquareDrawer, {"size_ratio": Decimal(0.8)}),
97+
"rounded-module": (
98+
svg_drawers.SvgRoundedModuleDrawer,
99+
{"size_ratio": Decimal(0.8)},
100+
),
97101
}
98102

99103
def _svg(self, tag="svg", **kwargs):
@@ -142,6 +146,10 @@ class SvgPathImage(SvgImage):
142146
svg_drawers.SvgPathSquareDrawer,
143147
{"size_ratio": Decimal(0.8)},
144148
),
149+
"rounded-module": (
150+
svg_drawers.SvgRoundedModuleDrawer,
151+
{"size_ratio": Decimal(0.8)},
152+
),
145153
}
146154

147155
def __init__(self, *args, **kwargs):

0 commit comments

Comments
 (0)