latest upload >> latest entry

This commit is contained in:
nberting 2018-06-13 19:37:13 +02:00
parent 74db0e3a57
commit e158a23f4e

View File

@ -136,7 +136,7 @@ def get_updates():
allbooks = db.session.query(Book).all() allbooks = db.session.query(Book).all()
id = len(allbooks) id = len(allbooks)
latest_upload = allbooks[-1] latest_upload = allbooks[-1]
return "This is the XPPL ~ Library XPUB ~ Updates / / / / / / / Last viewed: " + userin.info + " / / / / / / / " + str(len(allbooks)) + " Books online "+ " / / / / / / / " + "Latest upload: " + latest_upload.title return "This is the XPPL ~ Library XPUB ~ Updates / / / / / / / Last viewed: " + userin.info + " / / / / / / / " + str(len(allbooks)) + " Books online "+ " / / / / / / / " + "Latest entry: " + latest_upload.title
@app.route('/scape', methods=['POST', 'GET']) @app.route('/scape', methods=['POST', 'GET'])
def scape(): def scape():