mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
be resilient if spaceUntil sent wrong
This commit is contained in:
parent
328a1a86a4
commit
e0d46f0f12
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ where factId in %s""" % factIds))
|
|||
'created': f[2],
|
||||
'modified': f[3],
|
||||
'tags': f[4],
|
||||
'spaceUntil': f[5],
|
||||
'spaceUntil': f[5] or "",
|
||||
'lastCardId': f[6]
|
||||
} for f in facts]
|
||||
self.deck.factCount += (len(facts) - self.deck.s.scalar(
|
||||
|
|
Loading…
Reference in a new issue