Fix tuple assignment (#86)
parent
ae42197d10
commit
fd7348a1df
|
@ -306,8 +306,8 @@ def disvg(paths=None, colors=None,
|
||||||
|
|
||||||
# Create an SVG file
|
# Create an SVG file
|
||||||
if svg_attributes is not None:
|
if svg_attributes is not None:
|
||||||
dimensions[0] = svg_attributes.get("width", dimensions[0])
|
dimensions = (svg_attributes.get("width", dimensions[0]),
|
||||||
dimensions[1] = svg_attributes.get("height", dimensions[1])
|
svg_attributes.get("height", dimensions[1]))
|
||||||
debug = svg_attributes.get("debug", svgwrite_debug)
|
debug = svg_attributes.get("debug", svgwrite_debug)
|
||||||
dwg = Drawing(filename=filename, size=dimensions, debug=debug,
|
dwg = Drawing(filename=filename, size=dimensions, debug=debug,
|
||||||
**svg_attributes)
|
**svg_attributes)
|
||||||
|
|
Loading…
Reference in New Issue