remove last_seen
Some strange bug produces an error when using pymysql.
This commit is contained in:
parent
82b029296d
commit
c12aa6556b
@ -45,8 +45,6 @@ ALLOWED_EXTENSIONS = {'json', 'db'}
|
||||
@app.route('/index')
|
||||
@login_required
|
||||
def index():
|
||||
current_user.last_seen = datetime.datetime.utcnow()
|
||||
db.session.commit()
|
||||
return render_template('home.html')
|
||||
|
||||
@app.route('/twitter')
|
||||
|
Reference in New Issue
Block a user