remove last_seen

Some strange bug produces an error when using pymysql.
This commit is contained in:
PLUJA 2020-09-06 12:25:25 +02:00 committed by GitHub
parent 82b029296d
commit c12aa6556b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')