set deck created time on download

This commit is contained in:
Damien Elmes 2009-06-12 22:41:21 +09:00
parent e08a86c28d
commit 2db2b65df0

View file

@ -2651,6 +2651,7 @@ class DeckStorage(object):
DeckStorage._addIndices(deck)
for m in deck.models:
deck.updateCardsFromModel(m)
deck.created = time.time()
deck.finishProgress()
# fix a bug with current model being unset
if not deck.currentModel and deck.models: