mongodb / flask-pymongo

PyMongo support for Flask applications
BSD 2-Clause "Simplified" License
721 stars 175 forks source link

TypeError while reading files #162

Open Kamalkoranga opened 1 year ago

Kamalkoranga commented 1 year ago

mongo.send(filename) gives typeError -> argument of type 'NoneType' is not iterable

dcrosta commented 1 year ago

I believe this should be fixed in https://github.com/dcrosta/flask-pymongo/pull/164 ... can you test with that branch and let me know if this fixes the issue?

Kamalkoranga commented 1 year ago

Okay, I will check