Need to make sure s is declared

This commit is contained in:
James Vega 2004-11-02 05:41:42 +00:00
parent 716aefbb8d
commit 553f31c425
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ class Geekquote(callbacks.PrivmsgCommandAndRegexp):
except webutils.WebError, e:
self.log.info('%s server returned the error: %s' % \
(site, webutils.strError(e)))
s = None
for item in self._gkREDict[site].finditer(html):
s = item.groupdict()['text']
s = self._joiner.join(s.splitlines())