Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Change the gloabls for exec #108

Merged
merged 1 commit into from
Aug 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/process_user_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def execute_user_code(abs_path_to_code_file):
user_code = file.read()
try:
codeObj = compile(user_code, abs_path_to_code_file, 'exec')
exec(codeObj)
exec(codeObj, {})
sys.stdout.flush()
except Exception as e:
exc_type, exc_value, exc_traceback = sys.exc_info()
Expand Down