Browse Source

Merge pull request #619 from QuentinRoy/master

Fix missing argument in find_module of flaskext_compat.py
pull/1204/merge
Markus Unterwaditzer 10 years ago
parent
commit
97dc687793
  1. 2
      scripts/flaskext_compat.py

2
scripts/flaskext_compat.py

@ -44,7 +44,7 @@ class ExtensionImporter(object):
def install(self): def install(self):
sys.meta_path[:] = [x for x in sys.meta_path if self != x] + [self] sys.meta_path[:] = [x for x in sys.meta_path if self != x] + [self]
def find_module(self, fullname): def find_module(self, fullname, path=None):
if fullname.startswith(self.prefix): if fullname.startswith(self.prefix):
return self return self

Loading…
Cancel
Save