summaryrefslogtreecommitdiffstats
path: root/share/extensions/plotter.py
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
committerJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
commitb25ebda10578c5d697db9716e3c2b70950d33e45 (patch)
tree4635b8b3f65600cfd54b5465b906ae42165b0674 /share/extensions/plotter.py
parentFix some bugs (diff)
parentfix nodes reverting back during editing (diff)
downloadinkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.tar.gz
inkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.zip
fixing to new trunk
(bzr r15142.1.38)
Diffstat (limited to 'share/extensions/plotter.py')
-rwxr-xr-xshare/extensions/plotter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/plotter.py b/share/extensions/plotter.py
index 8a14d55bc..800142bb2 100755
--- a/share/extensions/plotter.py
+++ b/share/extensions/plotter.py
@@ -196,7 +196,7 @@ class Plot(inkex.Effect):
try:
mySerial.open()
except Exception as inst:
- if 'ould not open port' in inst.args[0]:
+ if 'ould not open port' in inst.strerror:
inkex.errormsg(_("Could not open port. Please check that your plotter is running, connected and the settings are correct."))
return
else: