mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
new option for tz reset without unpack
This commit is contained in:
parent
744cf3b16c
commit
be3f32755e
1 changed files with 3 additions and 3 deletions
|
@ -3675,11 +3675,11 @@ class DeckStorage(object):
|
|||
# force a write lock
|
||||
deck.s.execute("update decks set modified = modified")
|
||||
needUnpack = False
|
||||
if deck.utcOffset == -1:
|
||||
if deck.utcOffset in (-1, -2):
|
||||
# do the rest later
|
||||
needUnpack = deck.utcOffset == -1
|
||||
# make sure we do this before initVars
|
||||
DeckStorage._setUTCOffset(deck)
|
||||
# do the rest later
|
||||
needUnpack = True
|
||||
if ver < 27:
|
||||
initTagTables(deck.s)
|
||||
if create:
|
||||
|
|
Loading…
Reference in a new issue