This commit is contained in:
Luke Rogers 2013-12-12 19:00:14 +13:00
parent e29ea1c613
commit 6035f1b1fc
2 changed files with 3 additions and 3 deletions

9
plugins/python.py Normal file
View file

@ -0,0 +1,9 @@
from util import hook
from util.pyexec import eval_py
@hook.command
def python(inp):
"""python <prog> -- Executes <prog> as Python code."""
return eval_py(inp)