diff options
Diffstat (limited to 'share/extensions/funcplot.py')
| -rw-r--r-- | share/extensions/funcplot.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py index f0e84d6f6..e478a4b30 100644 --- a/share/extensions/funcplot.py +++ b/share/extensions/funcplot.py @@ -184,12 +184,12 @@ class FuncPlot(inkex.Effect): #copy attributes of rect
s = node.get('style')
- newpath.set('style', s)
- try:
- t = node.get('transform')
+ if s:
+ newpath.set('style', s)
+
+ t = node.get('transform')
+ if t:
newpath.set('transform', t)
- except AttributeError:
- pass
# top and bottom where exchanhged
newpath.set('d', simplepath.formatPath(
|
