mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Need to make sure s is declared
This commit is contained in:
parent
716aefbb8d
commit
553f31c425
@ -132,6 +132,7 @@ class Geekquote(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
except webutils.WebError, e:
|
except webutils.WebError, e:
|
||||||
self.log.info('%s server returned the error: %s' % \
|
self.log.info('%s server returned the error: %s' % \
|
||||||
(site, webutils.strError(e)))
|
(site, webutils.strError(e)))
|
||||||
|
s = None
|
||||||
for item in self._gkREDict[site].finditer(html):
|
for item in self._gkREDict[site].finditer(html):
|
||||||
s = item.groupdict()['text']
|
s = item.groupdict()['text']
|
||||||
s = self._joiner.join(s.splitlines())
|
s = self._joiner.join(s.splitlines())
|
||||||
|
Loading…
Reference in New Issue
Block a user