mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 06:50:53 +00:00
fix: indentation in sync_service rebuild path
This commit is contained in:
parent
ee6a1f902f
commit
c799ea1df9
1 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ class SyncService:
|
|||
import paperforge.worker.asset_index as asset_index
|
||||
|
||||
_t2 = _time.time()
|
||||
index_count = asset_index.build_index(self.vault, verbose)
|
||||
index_count = asset_index.build_index(self.vault, verbose, force_rebuild=rebuild_index)
|
||||
_t3 = _time.time()
|
||||
logger.info("build_index: %d entries in %.1fs", index_count, _t3 - _t2)
|
||||
|
||||
|
|
@ -289,7 +289,7 @@ class SyncService:
|
|||
flat_cleaned = self.clean_flat_notes(paths, json_output=json_output)
|
||||
|
||||
if orphaned > 0 or flat_cleaned > 0:
|
||||
index_count = asset_index.build_index(self.vault, verbose, force_rebuild=rebuild_index)
|
||||
index_count = asset_index.build_index(self.vault, verbose, force_rebuild=rebuild_index)
|
||||
|
||||
# ── Phase 4: Prune orphans ──
|
||||
prune_data = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue