diff options
-rw-r--r-- | pastepy.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ class Paste(object): self.lexers.append(('Others' if settings.categories else 'Syntax', sorted(lexers.items(), cmp = lambda a, b: cmp(a[0], b[0])))) self.formatter = CustomHtmlFormatter(linenos = 'table', lineanchors = 'line', anchorlinenos = True) + random.seed() + def message(self, msg, title = 'Message'): self.start_response('200 OK', [('Content-Type', 'text/html')]) return [str(templates.message(searchList = { |