mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Minor style update.
This commit is contained in:
parent
0ab9d4e3ec
commit
6f93426d66
@ -311,12 +311,12 @@ class Google(callbacks.PrivmsgCommandAndRegexp, plugins.Configurable):
|
||||
fd = urllib2.urlopen(request)
|
||||
text = fd.read()
|
||||
fd.close()
|
||||
elif '&output=gplain' not in match.group(0):
|
||||
mThread = self._ggThread.search(text)
|
||||
mGroup = self._ggGroup.search(text)
|
||||
else:
|
||||
elif '&output=gplain' in match.group(0):
|
||||
mThread = self._ggPlainThread.search(text)
|
||||
mGroup = self._ggPlainGroup.search(text)
|
||||
else:
|
||||
mThread = self._ggThread.search(text)
|
||||
mGroup = self._ggGroup.search(text)
|
||||
if mThread and mGroup:
|
||||
irc.reply(msg, 'Google Groups: %s, %s' % (mGroup.group(1),
|
||||
mThread.group(1)), prefixName = False)
|
||||
|
Loading…
Reference in New Issue
Block a user