style and arg order fix
This commit is contained in:
parent
da64f2d7c8
commit
d8f059b570
@ -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 New Issue
Block a user