tao-shen Claude Opus 4.6 commited on
Commit
fcd4893
·
1 Parent(s): 63ca3f6

fix: IndentationError in sync_hf.py line 161

Browse files

Fix extra indent on `return` inside load_from_repo() that caused
RUNTIME_ERROR on HF Space startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. scripts/sync_hf.py +1 -1
scripts/sync_hf.py CHANGED
@@ -158,7 +158,7 @@ class OpenClawFullSync:
158
  if not openclaw_files:
159
  print(f"[SYNC] No {DATASET_PATH}/ folder in dataset. Starting fresh.")
160
  self._ensure_default_config()
161
- return
162
 
163
  print(f"[SYNC] Found {len(openclaw_files)} files under {DATASET_PATH}/ in dataset")
164
 
 
158
  if not openclaw_files:
159
  print(f"[SYNC] No {DATASET_PATH}/ folder in dataset. Starting fresh.")
160
  self._ensure_default_config()
161
+ return
162
 
163
  print(f"[SYNC] Found {len(openclaw_files)} files under {DATASET_PATH}/ in dataset")
164