This commit is contained in:
Costa Shulyupin 2018-08-07 09:14:44 +03:00
parent b97bb067dc
commit 3de9ab0e8b
1 changed files with 1 additions and 0 deletions

View File

@ -885,6 +885,7 @@ def main():
else:
if '(' in sys.argv[1]:
ret = eval(sys.argv[1])
# ret = exec(sys.argv[1])
else:
ret = eval(sys.argv[1] + '(' + ', '.join("'%s'" % (a)
for a in sys.argv[2:]) + ')')