Skip to content

Commit 0fb688d

Browse files
achawkinsdcrosta
authored andcommitted
Fixed style
1 parent db4c04c commit 0fb688d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

flask_pymongo/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ def get_upload(filename):
214214
response.make_conditional(request)
215215
return response
216216

217-
def save_file(self, filename, fileobj, base="fs", content_type=None, **kwargs):
217+
def save_file(self, filename, fileobj, base="fs", content_type=None,
218+
**kwargs):
218219
"""Save a file-like object to GridFS using the given filename.
219220
220221
.. code-block:: python
@@ -240,4 +241,5 @@ def save_upload(filename):
240241
content_type, _ = guess_type(filename)
241242

242243
storage = GridFS(self.db, base)
243-
return storage.put(fileobj, filename=filename, content_type=content_type, **kwargs)
244+
return storage.put(fileobj, filename=filename,
245+
content_type=content_type, **kwargs)

0 commit comments

Comments
 (0)