From 07db17be8836bfb6252ac87071d469f4aae7dcc1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 7 Feb 2011 00:04:39 +0900 Subject: [PATCH] off by one in relativeDelay sync code --- anki/sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anki/sync.py b/anki/sync.py index 2801d0fd6..6c3c59695 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -542,8 +542,8 @@ from cards where id in %s""" % ids2str(ids))) return # FIXME: older clients won't send this, so this is temp compat code def getType(row): - if len(row) > 37: - return row[37] + if len(row) > 36: + return row[36] if row[15]: return 1 elif row[14]: