diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-03-05 23:36:52 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-03-05 23:36:52 +0100 |
commit | 8c0c605ea0d59355ece2e4f2755acb535ab7b90d (patch) | |
tree | a4cbfb3aee4e33420bb7e0b5853e578c278e279b /pyaggr3g470r/models/user.py | |
parent | set again to 5... (diff) | |
download | newspipe-8c0c605ea0d59355ece2e4f2755acb535ab7b90d.tar.gz newspipe-8c0c605ea0d59355ece2e4f2755acb535ab7b90d.tar.bz2 newspipe-8c0c605ea0d59355ece2e4f2755acb535ab7b90d.zip |
correcting wait counter and reactivating last_retrieved
Diffstat (limited to 'pyaggr3g470r/models/user.py')
-rw-r--r-- | pyaggr3g470r/models/user.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyaggr3g470r/models/user.py b/pyaggr3g470r/models/user.py index f2a268db..0bf9fe04 100644 --- a/pyaggr3g470r/models/user.py +++ b/pyaggr3g470r/models/user.py @@ -30,11 +30,10 @@ import re import random import hashlib from datetime import datetime -from flask import g from werkzeug import generate_password_hash, check_password_hash from flask.ext.login import UserMixin -db = g.db +from bootstrap import db class User(db.Model, UserMixin): |