Luis-Filipe commited on
Commit
3ea34ba
·
verified ·
1 Parent(s): a16f396

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -15,8 +15,6 @@ def run_pcbasic_code(code, timeout=60):
15
  with open(code_path, "w") as f:
16
  f.write(code)
17
 
18
- env = os.environ.copy()
19
-
20
  try:
21
  process = subprocess.run(
22
  [
@@ -26,7 +24,6 @@ def run_pcbasic_code(code, timeout=60):
26
  "--video=SDL2",
27
  "--output", img_path
28
  ],
29
- env=env,
30
  timeout=timeout,
31
  capture_output=True
32
  )
 
15
  with open(code_path, "w") as f:
16
  f.write(code)
17
 
 
 
18
  try:
19
  process = subprocess.run(
20
  [
 
24
  "--video=SDL2",
25
  "--output", img_path
26
  ],
 
27
  timeout=timeout,
28
  capture_output=True
29
  )