don't bother to return used media

This commit is contained in:
Damien Elmes 2010-12-11 02:13:37 +09:00
parent 70eb44bce2
commit 7a196b3747

View file

@ -185,10 +185,9 @@ update media set originalPath = :sum, created = :c where filename = :f""",
# update deck and get return info
if dirty:
deck.flushMod()
have = deck.s.scalar("select count() from media where originalPath != ''")
nohave = deck.s.column0("select filename from media where originalPath = ''")
deck.finishProgress()
return (have, nohave, unused)
return (nohave, unused)
# Download missing
##########################################################################