This commit is contained in:
j 2010-05-17 11:12:42 +02:00
parent 7649daf6a2
commit 1c695133c3
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ def from32(q):
'L': 1,
}
base32 = '0123456789ABCDEFGHIJKLMNOPQRSTUV'
q = q.replace('-','')
q = ''.join([base32[_32map[i.upper()]] for i in q])
return int(q, 32)