From 34423058689a8c9872c79c8fc914729e38e8cc29 Mon Sep 17 00:00:00 2001 From: mental Date: Sat, 12 Aug 2006 05:31:30 +0000 Subject: [PATCH] lastCommand seems to have been meant rather than token, since token would be numeric in the non-isCommand case --- share/extensions/simplepath.py | 4 ++-- 1 file 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: -- 2.30.2