def safe_base64_decode(s): if len(s) % 4 != 0: s += b"=" * (len(s) - len(s) // 4 * 4) return base64.b64decode(s)
Sign in to make a reply
用户6386657610