latest upload >> latest entry

geo
nberting 7 years ago
parent 74db0e3a57
commit e158a23f4e

@ -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():

Loading…
Cancel
Save