mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
Fix last_review_time assignment in Card class to use last_review_time_secs
This commit is contained in:
parent
89fb2e2fd9
commit
6ef48f509c
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class Card(DeprecatedNamesMixin):
|
|||
)
|
||||
self.decay = card.decay if card.HasField("decay") else None
|
||||
self.last_review_time = (
|
||||
card.last_review_time if card.HasField("last_review_time_secs") else None
|
||||
card.last_review_time_secs if card.HasField("last_review_time_secs") else None
|
||||
)
|
||||
|
||||
def _to_backend_card(self) -> cards_pb2.Card:
|
||||
|
|
|
|||
Loading…
Reference in a new issue