aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models/role.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/models/role.py')
-rw-r--r--pyaggr3g470r/models/role.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pyaggr3g470r/models/role.py b/pyaggr3g470r/models/role.py
index 71497caf..f5a18fdc 100644
--- a/pyaggr3g470r/models/role.py
+++ b/pyaggr3g470r/models/role.py
@@ -26,9 +26,7 @@ __revision__ = "$Date: 2014/04/12 $"
__copyright__ = "Copyright (c) Cedric Bonhomme"
__license__ = "GPLv3"
-from flask import g
-
-db = g.db
+from bootstrap import db
class Role(db.Model):
bgstack15