def safe_base64_decode(s): num = len(s) % 4 return base64.urlsafe_b64decode((lambda x: x + '=' * num)(s)) # fn=(lambda x: x + '=' * num) # fn(s)
Sign in to make a reply
4ever