mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
assert response ok
This commit is contained in:
parent
261c70b8c2
commit
28f6df93cb
1 changed files with 1 additions and 0 deletions
|
@ -992,6 +992,7 @@ and cards.id in %s""" % ids2str([c[0] for c in cards])))
|
|||
os.close(fd)
|
||||
errcode, errmsg, headers = h.getreply()
|
||||
assert errcode == 200
|
||||
assert h.file.read() == "OK"
|
||||
finally:
|
||||
runHook("fullSyncFinished")
|
||||
|
||||
|
|
Loading…
Reference in a new issue