mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Commented out some debug.printfs.
This commit is contained in:
parent
5eafec7121
commit
075af0967c
@ -262,7 +262,7 @@ class Http(callbacks.Privmsg):
|
||||
url = 'http://www.hamweather.net/cgi-bin/hw3/hw3.cgi?'\
|
||||
'config=&forecast=zandh&pands=%s&Submit=GO' % args[0]
|
||||
|
||||
debug.printf(url)
|
||||
#debug.printf(url)
|
||||
try:
|
||||
fd = urllib2.urlopen(url)
|
||||
html = fd.read()
|
||||
@ -337,7 +337,7 @@ class Http(callbacks.Privmsg):
|
||||
fd.close()
|
||||
# The following definitions are stripped and empties are removed.
|
||||
defs = filter(None, map(str.strip, self._acronymre.findall(html)))
|
||||
debug.printf(defs)
|
||||
#debug.printf(defs)
|
||||
if len(defs) == 0:
|
||||
irc.reply(msg, 'No definitions found.')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user