Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def exc(source, token):
|
|
12 |
if token != os.environ["special_token"]:
|
13 |
return "Token Incorrect"
|
14 |
else:
|
15 |
-
op = exec(source
|
16 |
consoleop = sys.stdout.getvalue().strip()
|
17 |
return f"""['''ExecOP: {op}''', '''ConsoleOP: {consoleop}''']"""
|
18 |
except Exception as e:
|
|
|
12 |
if token != os.environ["special_token"]:
|
13 |
return "Token Incorrect"
|
14 |
else:
|
15 |
+
op = exec(source)
|
16 |
consoleop = sys.stdout.getvalue().strip()
|
17 |
return f"""['''ExecOP: {op}''', '''ConsoleOP: {consoleop}''']"""
|
18 |
except Exception as e:
|