On Dec 22, 1:52 pm, Johannes Dollinger <johannes.dollin...@einfallsreich.net> wrote: > There's a small bug in b64_decode(), the padding should be > r = len(s) % 4 > pad = '=' * (r and 4 - r or 0)
Or even simpler: pad = '=' * (-len(s) % 4) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.