From e09f983c485681accbad40fd4de27bb070b53101 Mon Sep 17 00:00:00 2001 From: Dave Jeffery Date: Fri, 16 Dec 2011 05:23:06 +0000 Subject: [PATCH] Removed uppercase characters. Don't like the mixture of lowercase and uppercase characters in a tinchy URL; tinchy URLs should work aurally too. --- tinchy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinchy.py b/tinchy.py index 3c2cc90..023bd7b 100644 --- a/tinchy.py +++ b/tinchy.py @@ -1,7 +1,7 @@ import bottle, random, shelve def generate_tinchy_id(): - return ''.join(random.sample('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890', 3)) + return ''.join(random.sample('abcdefghijklmnopqrstuvwxyz1234567890', 3)) @route('/') def index():