We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e14bca commit 6e6a702Copy full SHA for 6e6a702
svg2mod/svg2mod.py
@@ -470,8 +470,7 @@ def _convert_mm_to_decimil( mm ):
470
471
#------------------------------------------------------------------------
472
473
- @classmethod
474
- def _get_fill_stroke( cls, item ):
+ def _get_fill_stroke( self, item ):
475
476
fill = True
477
stroke = True
@@ -499,7 +498,7 @@ def _get_fill_stroke( cls, item ):
499
498
stroke_width = 0.0
500
elif stroke_width is None:
501
# Give a default stroke width?
502
- stroke_width = cls._convert_decimil_to_mm( 1 )
+ stroke_width = self._convert_decimil_to_mm( 1 )
503
504
return fill, stroke, stroke_width
505
0 commit comments