diff options
| author | MenTaLguY <mental@rydia.net> | 2006-08-12 05:31:30 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-08-12 05:31:30 +0000 |
| commit | cd41ab745f3468b35df4951750af302099215550 (patch) | |
| tree | 8abc985a05e18f2a73a8655ac0f5b3d11586fd44 | |
| parent | add windows palette (diff) | |
| download | inkscape-cd41ab745f3468b35df4951750af302099215550.tar.gz inkscape-cd41ab745f3468b35df4951750af302099215550.zip | |
lastCommand seems to have been meant rather than token, since token would be numeric in the non-isCommand case
(bzr r1584)
| -rwxr-xr-x | share/extensions/simplepath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/extensions/simplepath.py b/share/extensions/simplepath.py index bfca242f6..09e882a37 100755 --- a/share/extensions/simplepath.py +++ b/share/extensions/simplepath.py @@ -102,8 +102,8 @@ def parsePath(d): #use last command's implicit next command needParam = False if lastCommand: - if token.isupper(): - command = pathdefs[lastCommand.upper()][0] + if lastCommand.isupper(): + command = pathdefs[lastCommand][0] else: command = pathdefs[lastCommand.upper()][0].lower() else: |
