mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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)
|
fd = urllib2.urlopen(request)
|
||||||
text = fd.read()
|
text = fd.read()
|
||||||
fd.close()
|
fd.close()
|
||||||
|
mThread = None
|
||||||
|
mGroup = None
|
||||||
if '&prev=/' in match.group(0):
|
if '&prev=/' in match.group(0):
|
||||||
path = re.search('view the <a href=([^>]+)>no',text)
|
path = re.search('view the <a href=([^>]+)>no',text)
|
||||||
if path is None:
|
if path is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user