WebashalarForML commited on
Commit
15904c0
·
verified ·
1 Parent(s): 4313535

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -252,7 +252,7 @@ def _load_block_catalog(block_type: str) -> Dict:
252
  Loads the Scratch block catalog named '{block_type}_blocks.json'
253
  from the <project_root>/blocks/ folder. Returns {} on any error.
254
  """
255
- catalog_path = BLOCKS_DIR / f"{block_type}_blocks.json"
256
 
257
  try:
258
  text = catalog_path.read_text() # will raise FileNotFoundError if missing
 
252
  Loads the Scratch block catalog named '{block_type}_blocks.json'
253
  from the <project_root>/blocks/ folder. Returns {} on any error.
254
  """
255
+ catalog_path = BLOCKS_DIR / f"{block_type}.json"
256
 
257
  try:
258
  text = catalog_path.read_text() # will raise FileNotFoundError if missing