mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
handle revlog entries with negative review times
This commit is contained in:
parent
67bb92d2f4
commit
0f1f80aebc
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ fn row_to_revlog_entry(row: &Row) -> Result<RevlogEntry> {
|
|||
interval: row.get(4)?,
|
||||
last_interval: row.get(5)?,
|
||||
ease_factor: row.get(6)?,
|
||||
taken_millis: row.get(7)?,
|
||||
taken_millis: row.get(7).unwrap_or_default(),
|
||||
review_kind: row.get(8).unwrap_or_default(),
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue