Code: Select all
INKSCAPE="/C/Program Files/Inkscape/inkscape.exe"
OPTS=--export-background-opacity=0
SVG=My_Icon.svg
DEST=generated_icons
"$INKSCAPE" -w36 $OPTS --export-png=$DEST/android/ic_launcher-ldpi.png $SVG
I get this error on the OPTS line:
can't assign to operator:BinOp[left=BinOp[left=UnaryOp[op=USub, operand=UnaryOp[op=USub, operand=Name[id=export, ctx=Load, reserved=false]]], op=Sub, right=Name[id=background, ctx=Load, reserved=false]], op=Sub, right=Name[id=opacity, ctx=Load, reserved=false]]
Python 2.7
How do I fix this?