mirror of https://github.com/coddrago/Heroku
Fix
parent
03f7c71557
commit
d34a12d768
|
@ -159,6 +159,8 @@ class Modules:
|
||||||
|
|
||||||
def register_all(self, db, mods=None):
|
def register_all(self, db, mods=None):
|
||||||
"""Load all modules in the module directory"""
|
"""Load all modules in the module directory"""
|
||||||
|
self._db = db
|
||||||
|
|
||||||
if self._compat_layer is None:
|
if self._compat_layer is None:
|
||||||
from . import compat # noqa
|
from . import compat # noqa
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue