mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +01:00
numbers -> integers
This commit is contained in:
parent
ab26fbdf84
commit
416a177e51
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user