mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
log 0 day interval as 1 day
Allows distinguishing it from resetting to new, and is treated as a one day delay when answering anyway.
This commit is contained in:
parent
b65174a026
commit
97778bec43
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ impl Collection {
|
|||
for mut card in col.storage.all_searched_cards()? {
|
||||
let original = card.clone();
|
||||
let interval = distribution.sample(&mut rng);
|
||||
col.log_manually_scheduled_review(&card, usn, interval)?;
|
||||
col.log_manually_scheduled_review(&card, usn, interval.max(1))?;
|
||||
card.schedule_as_review(interval, today);
|
||||
col.update_card(&mut card, &original, usn)?;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue