diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-14 21:04:51 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-14 21:04:51 +0000 |
| commit | 8577338d1da18580f412cfb38013e3cc709570a2 (patch) | |
| tree | 6714a8cb09e9073428ba1b28fe0c7df107463029 /share/extensions/plotter.py | |
| parent | fixing crash on erase (diff) | |
| parent | [Bug #1654892] Few typos in Calligraphy tutorial. (diff) | |
| download | inkscape-8577338d1da18580f412cfb38013e3cc709570a2.tar.gz inkscape-8577338d1da18580f412cfb38013e3cc709570a2.zip | |
Update to trunk
(bzr r15392.1.4)
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: |
