From 1e48ce9b99a24281ce229f557fb97140a6cad2ad Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 10 Dec 2011 04:35:29 +0900 Subject: [PATCH] fix randomizeCards() call --- anki/upgrade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/upgrade.py b/anki/upgrade.py index d0ca3c885..3847d6e02 100644 --- a/anki/upgrade.py +++ b/anki/upgrade.py @@ -623,7 +623,7 @@ update cards set due = cast( """, stamp=col.sched.dayCutoff, today=col.sched.today) # possibly re-randomize if col.models.randomNew(): - col.sched.randomizeCards() + col.sched.randomizeCards(1) # update insertion id col.conf['nextPos'] = ( col.db.scalar("select max(id) from notes") or 0)+1