From dcf0e725b2c709a8c5ac6e6ba1311003bfe7e672 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Fri, 15 Mar 2019 19:41:26 +0100 Subject: Fix paste title when viewing a paste --- pastepy/pastepy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pastepy/pastepy.py b/pastepy/pastepy.py index 1d43986..472f6e2 100644 --- a/pastepy/pastepy.py +++ b/pastepy/pastepy.py @@ -145,7 +145,7 @@ def view_paste(paste_hash): db_session.add(cache) template = 'full.html' if request.endpoint.endswith('.view_full') else 'view.html' return render_template(template, - title='View paste \u2013 {}'.format(current_app.config['PASTEBIN_NAME'], paste.title or 'Untitled'), + title='View paste \u2013 {}'.format(paste.title or 'Untitled'), hash=paste_hash, date='{} UTC'.format(paste.date.ctime()), nick=paste.nick or 'Anonymous', -- cgit v1.2.3