mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
URL: Update URL.last so that getopts args are only .lower()'d if they're a string.
This commit is contained in:
parent
0af83d2e24
commit
648ae85b51
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user