mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
off by one in relativeDelay sync code
This commit is contained in:
parent
ff38dad5b2
commit
07db17be88
1 changed files with 2 additions and 2 deletions
|
@ -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]:
|
||||
|
|
Loading…
Reference in a new issue