Browse Source

Merge pull request #583 from d1ffuz0r/issue_524

fixed issue #524
pull/590/merge
Armin Ronacher 12 years ago
parent
commit
c5f938bc55
  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, path=None): def find_module(self, fullname):
if fullname.startswith(self.prefix): if fullname.startswith(self.prefix):
return self return self

Loading…
Cancel
Save