Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ def update_project_with_sprite_positions(project_json: dict, sprite_positions: d
|
|
247 |
return updated_project
|
248 |
|
249 |
# Helper function to load the block catalog from a JSON file
|
250 |
-
def
|
251 |
"""
|
252 |
Loads the Scratch block catalog named '{block_type}_blocks.json'
|
253 |
from the <project_root>/blocks/ folder. Returns {} on any error.
|
|
|
247 |
return updated_project
|
248 |
|
249 |
# Helper function to load the block catalog from a JSON file
|
250 |
+
def _load_block_catalog(block_type: str) -> Dict:
|
251 |
"""
|
252 |
Loads the Scratch block catalog named '{block_type}_blocks.json'
|
253 |
from the <project_root>/blocks/ folder. Returns {} on any error.
|