style and arg order fix

This commit is contained in:
Damien Elmes 2019-02-18 12:44:04 +10:00
parent da64f2d7c8
commit d8f059b570
2 changed files with 4 additions and 4 deletions

View File

@ -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