diff options
-rw-r--r-- | pastepy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ class Paste(object): self.start_response('200 OK', [('Content-Type', 'text/html')]) return [str(templates.view(searchList = { - 'title': '%s – View paste – %s' % (settings.pastebin_name, paste.title), + 'title': '%s – View paste – %s' % (settings.pastebin_name, paste.title or 'Untitled'), 'header': '%s – View paste' % settings.pastebin_name, 'hash': hash, 'date': paste.date.ctime(), |