From 9b81a81831e059d9472c806a59bf136c9fe002f5 Mon Sep 17 00:00:00 2001 From: Ricky Zhou Date: Jul 18 2009 04:42:10 +0000 Subject: Fix type. --- diff --git a/plugin.py b/plugin.py index f8c0318..b36a050 100644 --- a/plugin.py +++ b/plugin.py @@ -339,17 +339,13 @@ class Fedora(callbacks.Plugin): try: parser.feed(text) except sgmllib.SGMLParseError: - irc.reply(format('Encountered a problem parsing %u. Title may ' + - 'already be set, though', url)) - return + irc.reply(format('Encountered a problem parsing %u', url)) if parser.title: irc.reply(utils.web.htmlToText(parser.title.strip()) + ' - ' + url) - return else: irc.reply(format('That URL appears to have no HTML title ' + 'within the first %i bytes.', size)) - return - showticket = wrap(showticket, ['text', 'int']) + showticket = wrap(showticket, ['httpUrl', 'int']) def swedish(self, irc, msg, args): """takes no arguments