mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
don't try to rebuild q/a cache when upgrading (#621)
this fixes import failures due to missing media folder on windows, and speeds up the upgrade process
This commit is contained in:
parent
71bc925e8b
commit
89081eecd6
1 changed files with 2 additions and 0 deletions
|
@ -1926,6 +1926,8 @@ and c.id in %s""" % ids2str(ids))
|
|||
|
||||
def updateCardQACache(self, ids, dirty=True):
|
||||
"Given a list of (cardId, cardModelId, factId, modId), update q/a cache."
|
||||
# we don't need the q/a cache for upgrading
|
||||
return
|
||||
if dirty:
|
||||
mod = ", modified = %f" % time.time()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue