return actual checksum, or sqlite tries to treat it like an int

This commit is contained in:
Damien Elmes 2010-12-11 16:30:26 +09:00
parent 35fd3de6fb
commit 98304accb0

View file

@ -201,7 +201,7 @@ def downloadMissing(deck):
missing = 0 missing = 0
grabbed = 0 grabbed = 0
for c, (f, sum) in enumerate(deck.s.all( for c, (f, sum) in enumerate(deck.s.all(
"select filename, not not originalPath from media")): "select filename, originalPath from media")):
path = os.path.join(mdir, f) path = os.path.join(mdir, f)
if not os.path.exists(path): if not os.path.exists(path):
try: try: