changeset 10282 | 08a0f04b56bd |
parent 10263 | 25e572394f5c |
child 16598 | 20a9d823f242 |
10281:e7d3b509af8b | 10282:08a0f04b56bd |
---|---|
46 _mkb85dec() |
46 _mkb85dec() |
47 |
47 |
48 l = len(text) |
48 l = len(text) |
49 out = [] |
49 out = [] |
50 for i in range(0, len(text), 5): |
50 for i in range(0, len(text), 5): |
51 chunk = text[i:i+5] |
51 chunk = text[i:i + 5] |
52 acc = 0 |
52 acc = 0 |
53 for j, c in enumerate(chunk): |
53 for j, c in enumerate(chunk): |
54 try: |
54 try: |
55 acc = acc * 85 + _b85dec[c] |
55 acc = acc * 85 + _b85dec[c] |
56 except KeyError: |
56 except KeyError: |