mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-06 17:44:09 +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,6 +105,7 @@ class URL(callbacks.Plugin):
|
|||||||
f = None
|
f = None
|
||||||
nolimit = False
|
nolimit = False
|
||||||
for (option, arg) in optlist:
|
for (option, arg) in optlist:
|
||||||
|
if isinstance(arg, basestring):
|
||||||
arg = arg.lower()
|
arg = arg.lower()
|
||||||
if option == 'nolimit':
|
if option == 'nolimit':
|
||||||
nolimit = True
|
nolimit = True
|
||||||
|
Loading…
Reference in New Issue
Block a user