From f210f728ea8594e8fadcd71ae9198fec3dd45ffc Mon Sep 17 00:00:00 2001 From: David Snopek Date: Tue, 31 Dec 2013 20:06:31 +0000 Subject: [PATCH] Updated the bundled Anki 2.0.20 and made some fixes for that version. Fixes #9. Conflicts: AnkiServer/importer.py anki-bundled tests/test_importer.py --- ankisyncd/sync_app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ankisyncd/sync_app.py b/ankisyncd/sync_app.py index 3f415d2..434ba7c 100644 --- a/ankisyncd/sync_app.py +++ b/ankisyncd/sync_app.py @@ -196,6 +196,10 @@ class SyncMediaHandler(MediaSyncer): return usn + def mediaSanity(self, client=None): + # TODO: Do something with 'client' argument? + return self.col.media.sanityCheck() + def mediaList(self): """Returns a list of all the fnames in this collections media database.""" fnames = []