From df425505059973a7b5c49f899859bbd151061e83 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 6 Nov 2004 19:03:02 +0000 Subject: [PATCH] Bugfixes. --- plugins/Math.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Math.py b/plugins/Math.py index f4b729028..db25323c5 100644 --- a/plugins/Math.py +++ b/plugins/Math.py @@ -307,7 +307,7 @@ class Math(callbacks.Privmsg): except convertcore.UnitDataError, ude: irc.error(str(ude)) convert = wrap(convert, [optional('float', 1.0), 'something', - additional(('literal', 'to'), ''), 'something']) + additional(('literal', 'to'), ''), 'text']) def units(self, irc, msg, args, type): """ [] @@ -318,7 +318,7 @@ class Math(callbacks.Privmsg): """ irc.reply(convertcore.units(type)) - units = wrap(units, [additional('something')]) + units = wrap(units, [additional('text')]) Class = Math