mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix lastInt and nextInt being switched on upgrade
This commit is contained in:
parent
9c1e0befc6
commit
153c574d64
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ name, "{}", "{}", ?, "" from models2""", simplejson.dumps(
|
||||||
for row in db.execute("""
|
for row in db.execute("""
|
||||||
select
|
select
|
||||||
cast(time*1000 as int), cardId, ease, reps,
|
cast(time*1000 as int), cardId, ease, reps,
|
||||||
cast(lastInterval as int), cast(nextInterval as int),
|
cast(nextInterval as int), cast(lastInterval as int),
|
||||||
cast(nextFactor*1000 as int), cast(min(thinkingTime, 60)*1000 as int),
|
cast(nextFactor*1000 as int), cast(min(thinkingTime, 60)*1000 as int),
|
||||||
1 from reviewHistory"""):
|
1 from reviewHistory"""):
|
||||||
row = list(row)
|
row = list(row)
|
||||||
|
|
Loading…
Reference in a new issue