ignore -
This commit is contained in:
parent
7649daf6a2
commit
1c695133c3
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ def from32(q):
|
||||||
'L': 1,
|
'L': 1,
|
||||||
}
|
}
|
||||||
base32 = '0123456789ABCDEFGHIJKLMNOPQRSTUV'
|
base32 = '0123456789ABCDEFGHIJKLMNOPQRSTUV'
|
||||||
|
q = q.replace('-','')
|
||||||
q = ''.join([base32[_32map[i.upper()]] for i in q])
|
q = ''.join([base32[_32map[i.upper()]] for i in q])
|
||||||
return int(q, 32)
|
return int(q, 32)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue