+#exec
This commit is contained in:
parent
b97bb067dc
commit
3de9ab0e8b
|
@ -885,6 +885,7 @@ def main():
|
||||||
else:
|
else:
|
||||||
if '(' in sys.argv[1]:
|
if '(' in sys.argv[1]:
|
||||||
ret = eval(sys.argv[1])
|
ret = eval(sys.argv[1])
|
||||||
|
# ret = exec(sys.argv[1])
|
||||||
else:
|
else:
|
||||||
ret = eval(sys.argv[1] + '(' + ', '.join("'%s'" % (a)
|
ret = eval(sys.argv[1] + '(' + ', '.join("'%s'" % (a)
|
||||||
for a in sys.argv[2:]) + ')')
|
for a in sys.argv[2:]) + ')')
|
||||||
|
|
Loading…
Reference in New Issue