From 519b8c342584b7d6b68b6d36cfd395efcf3d3bf8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 2 Jun 2020 15:10:41 +1000 Subject: [PATCH] ensure sync indicator updates after download --- rslib/src/sync/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rslib/src/sync/mod.rs b/rslib/src/sync/mod.rs index 55a83af00..eae70a036 100644 --- a/rslib/src/sync/mod.rs +++ b/rslib/src/sync/mod.rs @@ -665,6 +665,7 @@ impl Collection { kind: SyncErrorKind::Other, }); } + db.execute_batch("update col set ls=mod")?; drop(db); // overwrite existing collection atomically out_file