Spaces:
Runtime error
Runtime error
Commit
·
62a3bc8
1
Parent(s):
2bd5e1f
update code runner
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def Code_Runner(code_raw: str):
|
|
126 |
interpreter.active_block = code_block
|
127 |
output = interpreter.run()
|
128 |
print("Real Output: \n", output)
|
129 |
-
if output =="":
|
130 |
output = "It is Done. No Error Found."
|
131 |
return output
|
132 |
|
|
|
126 |
interpreter.active_block = code_block
|
127 |
output = interpreter.run()
|
128 |
print("Real Output: \n", output)
|
129 |
+
if output =="" or output == []:
|
130 |
output = "It is Done. No Error Found."
|
131 |
return output
|
132 |
|