numbers -> integers

This commit is contained in:
James Vega 2004-02-07 20:51:30 +00:00
parent ab26fbdf84
commit 416a177e51

View File

@ -79,7 +79,7 @@ class Math(callbacks.Privmsg):
if not ((2 <= frm <= 36) and (2 <= to <= 36)): if not ((2 <= frm <= 36) and (2 <= to <= 36)):
raise ValueError raise ValueError
except ValueError: except ValueError:
irc.error('Bases must be numbers between 2 and 36.') irc.error('Bases must be integers between 2 and 36.')
return return
try: try:
irc.reply(self._convertBaseToBase(number, to, frm)) irc.reply(self._convertBaseToBase(number, to, frm))