mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
style and arg order fix
This commit is contained in:
parent
da64f2d7c8
commit
d8f059b570
2 changed files with 4 additions and 4 deletions
|
@ -431,7 +431,7 @@ insert into cards values (?,?,?,?,?,?,0,0,?,0,0,0,0,0,0,0,0,"")""",
|
|||
cards.append(self._newCard(note, template, 1, flush=False, did=did))
|
||||
return cards
|
||||
|
||||
def _newCard(self, note, template, due, did = None, flush=True):
|
||||
def _newCard(self, note, template, due, flush=True, did=None):
|
||||
"Create a new card."
|
||||
card = anki.cards.Card(self)
|
||||
card.nid = note.id
|
||||
|
|
Loading…
Reference in a new issue