continue to use subtype 2 for GridFS, since filemd5 was only updated to handle other subtypes in 1.5.x

This commit is contained in:
Mike Dirolf 2010-06-16 14:39:13 -04:00
parent ce965158d6
commit 101cd109da

View File

@ -174,7 +174,7 @@ class GridIn(object):
chunk = {"files_id": self._file["_id"],
"n": self._chunk_number,
"data": Binary(data)}
"data": Binary(data, 2)}
self._chunks.insert(chunk)
self._chunk_number += 1