Spaces:
Paused
Paused
Commit
·
a125da9
1
Parent(s):
e03328d
fix: lock
Browse files- web_server.py +1 -1
web_server.py
CHANGED
@@ -173,11 +173,11 @@ class EnvHandler:
|
|
173 |
This can include multiple scene and configurations.
|
174 |
"""
|
175 |
def __init__(self, scene_list: List[SceneConfig], base_output: str):
|
|
|
176 |
self.scene_list = scene_list
|
177 |
self.base_output = base_output
|
178 |
self.env = None
|
179 |
self.reset_env()
|
180 |
-
self._lock = threading.Lock()
|
181 |
|
182 |
def _switch_scene(self, scene_index: int):
|
183 |
"""
|
|
|
173 |
This can include multiple scene and configurations.
|
174 |
"""
|
175 |
def __init__(self, scene_list: List[SceneConfig], base_output: str):
|
176 |
+
self._lock = threading.Lock()
|
177 |
self.scene_list = scene_list
|
178 |
self.base_output = base_output
|
179 |
self.env = None
|
180 |
self.reset_env()
|
|
|
181 |
|
182 |
def _switch_scene(self, scene_index: int):
|
183 |
"""
|