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

后端 未结 0 1320
面向向阳花
面向向阳花 2021-02-14 14:49

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         


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