summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2019-03-15 19:41:26 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2019-03-15 19:41:26 +0100
commitdcf0e725b2c709a8c5ac6e6ba1311003bfe7e672 (patch)
tree365b6c6478b18aff4b74a8aea1e0046a4c8281b9
parent15277bf5ce9bb950eefb6918ca0df5e62d7db32c (diff)
Fix paste title when viewing a paste
-rw-r--r--pastepy/pastepy.py2
1 files changed, 1 insertions, 1 deletions
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',