Permalink
Browse files

Removed uppercase characters. Don't like the mixture of lowercase and…

… uppercase characters in a tinchy URL; tinchy URLs should work aurally too.
  • Loading branch information...
1 parent ad40599 commit e09f983c485681accbad40fd4de27bb070b53101 @davej committed Dec 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tinchy.py
View
@@ -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():

0 comments on commit e09f983

Please sign in to comment.