URL: Update URL.last so that getopts args are only .lower()'d if they're a string.

This commit is contained in:
James Vega 2005-12-17 01:35:31 +00:00
parent 0af83d2e24
commit 648ae85b51

View File

@ -105,7 +105,8 @@ class URL(callbacks.Plugin):
f = None
nolimit = False
for (option, arg) in optlist:
arg = arg.lower()
if isinstance(arg, basestring):
arg = arg.lower()
if option == 'nolimit':
nolimit = True
elif option == 'from':