diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-14 22:33:43 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-14 22:33:43 +0000 |
| commit | b9df198f666e6efc79a603d2d0bf276c8ab1d6b4 (patch) | |
| tree | 82d31550313a81c746bf6cce75a87827911a3709 /share/extensions/plotter.py | |
| parent | Update to trunk (diff) | |
| parent | [Bug #1654892] Few typos in Calligraphy tutorial. (diff) | |
| download | inkscape-b9df198f666e6efc79a603d2d0bf276c8ab1d6b4.tar.gz inkscape-b9df198f666e6efc79a603d2d0bf276c8ab1d6b4.zip | |
Update to trunk
(bzr r15295.1.62)
Diffstat (limited to 'share/extensions/plotter.py')
| -rwxr-xr-x | share/extensions/plotter.py | 2 |
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: |
