From: mental Date: Sat, 12 Aug 2006 05:31:30 +0000 (+0000) Subject: lastCommand seems to have been meant rather than token, since token would be numeric... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=34423058689a8c9872c79c8fc914729e38e8cc29;p=inkscape.git lastCommand seems to have been meant rather than token, since token would be numeric in the non-isCommand case --- 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: