mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Changed formatting of rpn in case of a non-empty stack.
This commit is contained in:
parent
3188810d21
commit
e06ce955fa
@ -445,7 +445,8 @@ class FunCommands(callbacks.Privmsg):
|
||||
if len(stack) == 1:
|
||||
irc.reply(msg, str(self._complexToString(complex(stack[0]))))
|
||||
else:
|
||||
irc.reply(msg, 'Stack: %r' % stack)
|
||||
s = ', '.join(map(self._complexToString, map(complex, stack)))
|
||||
irc.reply(msg, 'Stack: [%s]' % s)
|
||||
|
||||
def objects(self, irc, msg, args):
|
||||
"""takes no arguments.
|
||||
|
Loading…
Reference in New Issue
Block a user