From c8b2d2d6f91fdf9d82674db2c5ca2158e394f491 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Fri, 7 Sep 2012 10:16:39 -0400 Subject: [PATCH] fuck --- snipts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snipts/models.py b/snipts/models.py index 745886a..bfc28f7 100644 --- a/snipts/models.py +++ b/snipts/models.py @@ -48,7 +48,7 @@ class Snipt(models.Model): self.slug = slugify_uniquely(self.title, Snipt) if not self.key: - self.key = md5.new(self.slug + str(datetime.datetime.now() + random.random())).hexdigest() + self.key = md5.new(self.slug + str(datetime.datetime.now()) + str(random.random())).hexdigest() if self.lexer == 'markdown': self.stylized = markdown(self.code, 'default')