since we may bump mod time when setting up media, do it after sync

This commit is contained in:
Damien Elmes 2010-12-09 16:38:37 +09:00
parent 405a28e090
commit 0e557e0389

View file

@ -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")