mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
We no longer have to strip the first two characters of options. wrap()
handles this for us.
This commit is contained in:
parent
fda6b572a7
commit
8b0d0a9aca
@ -300,7 +300,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
elif option == 'similar':
|
elif option == 'similar':
|
||||||
kwargs['filter'] = False
|
kwargs['filter'] = False
|
||||||
else:
|
else:
|
||||||
kwargs[option[2:]] = argument
|
kwargs[option] = argument
|
||||||
try:
|
try:
|
||||||
data = search(self.log, text, **kwargs)
|
data = search(self.log, text, **kwargs)
|
||||||
except google.NoLicenseKey, e:
|
except google.NoLicenseKey, e:
|
||||||
|
Loading…
Reference in New Issue
Block a user