Is there any way to avoid the 'Incorrect padding error' while decoding the base64 in python?

后端 未结 0 847
醉酒成梦
醉酒成梦 2021-02-14 14:24

Here is my code:

def image_check():
url = request.form[\'url\']
if "data:image/jpeg;base64," in url:
    bstring = url.replace("data:image/jpeg;bas         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题