mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Removed printf debug
This commit is contained in:
parent
27deaaa7b2
commit
300cb1d766
@ -289,11 +289,11 @@ class FunCommands(callbacks.Privmsg):
|
|||||||
i = long(literal, 8)
|
i = long(literal, 8)
|
||||||
return '%s%s.0' % (previous, i)
|
return '%s%s.0' % (previous, i)
|
||||||
text = self._mathHex.sub(hex2float, text)
|
text = self._mathHex.sub(hex2float, text)
|
||||||
debug.printf('After unhexing: %r' % text)
|
#debug.printf('After unhexing: %r' % text)
|
||||||
text = self._mathOctal.sub(oct2float, text)
|
text = self._mathOctal.sub(oct2float, text)
|
||||||
debug.printf('After unocting: %r' % text)
|
#debug.printf('After unocting: %r' % text)
|
||||||
text = self._mathInt.sub(r'\1.0', text)
|
text = self._mathInt.sub(r'\1.0', text)
|
||||||
debug.printf('After uninting: %r' % text)
|
#debug.printf('After uninting: %r' % text)
|
||||||
try:
|
try:
|
||||||
x = complex(eval(text, self._mathEnv, self._mathEnv))
|
x = complex(eval(text, self._mathEnv, self._mathEnv))
|
||||||
real = x.real
|
real = x.real
|
||||||
|
Loading…
Reference in New Issue
Block a user