Made @py cmd-echo verbatim. Resolves Issue 310.

This commit is contained in:
Griatch 2012-10-23 22:34:56 +02:00
parent ce036e07f3
commit 9abc25c53e

View file

@ -149,7 +149,7 @@ class CmdPy(MuxCommand):
'ev':ev,
'inherits_from':utils.inherits_from}
caller.msg(">>> %s{n" % pycode)
caller.msg(">>> %s" % pycode, data={"raw":True})
try:
ret = eval(pycode, {}, available_vars)
if ret != None: