From d99ea0c7a0fec68ad994ab08ac8169db170eb88b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 24 Jun 2020 09:52:02 +1000 Subject: [PATCH] fix media not working after full sync --- pylib/anki/collection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/anki/collection.py b/pylib/anki/collection.py index a1dfe6083..cc46df113 100644 --- a/pylib/anki/collection.py +++ b/pylib/anki/collection.py @@ -271,6 +271,8 @@ class Collection: media_db_path=media_db, log_path=log_path, ) + else: + self.media.connect() self.db = DBProxy(weakref.proxy(self.backend)) self.db.begin()