summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pastepy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pastepy.py b/pastepy.py
index f85b4fa..0148294 100644
--- a/pastepy.py
+++ b/pastepy.py
@@ -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 = {