Skip to content

Commit 8972acf

Browse files
authored
Merge pull request #113 from yarobob/master
Fix broken flask extension interface.
2 parents b30b573 + ea1ff75 commit 8972acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask_pymongo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class PyMongo(object):
108108
109109
"""
110110

111-
def __init__(self, app, uri=None, *args, **kwargs):
111+
def __init__(self, app=None, uri=None, *args, **kwargs):
112112
self.cx = None
113113
self.db = None
114114

0 commit comments

Comments
 (0)