Fixed formatting and removed unused imports.
This commit is contained in:
parent
fb62640ccc
commit
fa97d4659c
6 changed files with 31 additions and 33 deletions
|
@ -1,10 +1,9 @@
|
|||
import re
|
||||
|
||||
from util import hook, http
|
||||
from util import hook
|
||||
from util.execute import eval_py
|
||||
|
||||
|
||||
@hook.command
|
||||
def python(inp):
|
||||
"python <prog> -- Executes <prog> as Python code."
|
||||
"""python <prog> -- Executes <prog> as Python code."""
|
||||
|
||||
return eval_py(inp)
|
||||
|
|
Reference in a new issue