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:
parent
ce965158d6
commit
101cd109da
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user