mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Bugfixes.
This commit is contained in:
parent
cc331c17f9
commit
df42550505
@ -307,7 +307,7 @@ class Math(callbacks.Privmsg):
|
|||||||
except convertcore.UnitDataError, ude:
|
except convertcore.UnitDataError, ude:
|
||||||
irc.error(str(ude))
|
irc.error(str(ude))
|
||||||
convert = wrap(convert, [optional('float', 1.0), 'something',
|
convert = wrap(convert, [optional('float', 1.0), 'something',
|
||||||
additional(('literal', 'to'), ''), 'something'])
|
additional(('literal', 'to'), ''), 'text'])
|
||||||
|
|
||||||
def units(self, irc, msg, args, type):
|
def units(self, irc, msg, args, type):
|
||||||
""" [<type>]
|
""" [<type>]
|
||||||
@ -318,7 +318,7 @@ class Math(callbacks.Privmsg):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
irc.reply(convertcore.units(type))
|
irc.reply(convertcore.units(type))
|
||||||
units = wrap(units, [additional('something')])
|
units = wrap(units, [additional('text')])
|
||||||
|
|
||||||
Class = Math
|
Class = Math
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user