mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fixed an UnboundLocalError caused by forgetting to assign a default None value
to some vars.
This commit is contained in:
parent
dc2c9c55fe
commit
2cdd2392ff
@ -307,6 +307,8 @@ class Google(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
|
||||
fd = urllib2.urlopen(request)
|
||||
text = fd.read()
|
||||
fd.close()
|
||||
mThread = None
|
||||
mGroup = None
|
||||
if '&prev=/' in match.group(0):
|
||||
path = re.search('view the <a href=([^>]+)>no',text)
|
||||
if path is None:
|
||||
|
Loading…
Reference in New Issue
Block a user