Skip to content

Commit

Permalink
Removed uppercase characters. Don't like the mixture of lowercase and…
Browse files Browse the repository at this point in the history
… uppercase characters in a tinchy URL; tinchy URLs should work aurally too.
  • Loading branch information
davej committed Dec 16, 2011
1 parent ad40599 commit e09f983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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():
Expand Down

0 comments on commit e09f983

Please sign in to comment.