Fix GridFS example code.

This commit is contained in:
A. Jesse Jiryu Davis 2014-02-25 14:50:01 -05:00
parent 1361579c82
commit ea38602bef

View File

@ -124,7 +124,7 @@ class GridIn(object):
>>> from pymongo import MongoClient
>>> from gridfs import GridFS
>>> client = MongoClient(w=0) # turn off write acknowledgment
>>> fs = GridFS(client)
>>> fs = GridFS(client.database)
>>> gridin = fs.new_file()
>>> request = client.start_request()
>>> try: