Spaces:
Running
Running
fix
Browse files- code_exec.py +1 -0
code_exec.py
CHANGED
@@ -6,6 +6,7 @@ from RestrictedPython.Utilities import utility_builtins
|
|
6 |
from RestrictedPython.Guards import guarded_unpack_sequence
|
7 |
from RestrictedPython.Limits import limited_range, limited_list, limited_tuple
|
8 |
from io import StringIO
|
|
|
9 |
|
10 |
def eval_restricted_script(script):
|
11 |
# Set up print collector and output handling
|
|
|
6 |
from RestrictedPython.Guards import guarded_unpack_sequence
|
7 |
from RestrictedPython.Limits import limited_range, limited_list, limited_tuple
|
8 |
from io import StringIO
|
9 |
+
import types
|
10 |
|
11 |
def eval_restricted_script(script):
|
12 |
# Set up print collector and output handling
|