From 553f31c425a307c3c217421569feac4e5ca7d767 Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 2 Nov 2004 05:41:42 +0000 Subject: [PATCH] Need to make sure s is declared --- plugins/Geekquote.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Geekquote.py b/plugins/Geekquote.py index 71d30865f..8794f6214 100644 --- a/plugins/Geekquote.py +++ b/plugins/Geekquote.py @@ -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())