From e158a23f4e3423c0e795f65a5a1109c05332dd7d Mon Sep 17 00:00:00 2001 From: nberting Date: Wed, 13 Jun 2018 19:37:13 +0200 Subject: [PATCH] latest upload >> latest entry --- app/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views.py b/app/views.py index c552b7d..6b78eaa 100755 --- a/app/views.py +++ b/app/views.py @@ -136,7 +136,7 @@ def get_updates(): allbooks = db.session.query(Book).all() id = len(allbooks) 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']) def scape():