mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
since we may bump mod time when setting up media, do it after sync
This commit is contained in:
parent
405a28e090
commit
0e557e0389
1 changed files with 2 additions and 2 deletions
|
@ -745,12 +745,12 @@ Debug info:\n%s""") % traceback.format_exc(), help="DeckErrors")
|
|||
return 0
|
||||
if uprecent:
|
||||
self.updateRecentFiles(self.deck.path)
|
||||
if interactive:
|
||||
self.setupMedia(self.deck)
|
||||
if (sync and self.config['syncOnLoad']
|
||||
and self.deck.syncName):
|
||||
if self.syncDeck(interactive=False):
|
||||
return True
|
||||
if interactive:
|
||||
self.setupMedia(self.deck)
|
||||
try:
|
||||
self.deck.initUndo()
|
||||
self.moveToState("initial")
|
||||
|
|
Loading…
Reference in a new issue