From d495a9b3c60b1b09b1b9d6757548fbdbb9461c9d Mon Sep 17 00:00:00 2001 From: user1823 <92206575+user1823@users.noreply.github.com> Date: Sun, 7 Jul 2024 19:48:50 +0530 Subject: [PATCH] Exclude manual entries from remote reviews (#434) --- sync_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_hook.py b/sync_hook.py index 871f6ac..bb3e702 100644 --- a/sync_hook.py +++ b/sync_hook.py @@ -23,7 +23,7 @@ def review_cid_remote(local_rids: List[int]): f"""SELECT DISTINCT cid FROM revlog WHERE id NOT IN {local_rid_string} - {"" if config.auto_disperse_after_reschedule else "AND ease > 0"} + AND ease > 0 AND (type < 3 OR factor != 0) """ ) # type: 0=learn, 1=review, 2=relearn, 3=filtered, 4=manual