Spaces:
Sleeping
Sleeping
fix: IndentationError in sync_hf.py line 161
Browse filesFix 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>
- 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 |
-
|
| 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 |
|