CVE-2021-3129
CVE-2021-3129 copied to clipboard
ValueError: substring not found
I get an error telling: ValueError: substring not found
how can i fix this error?
replace string at line 96 text = text[text.index(']'):].replace("}","").replace("]","") to this construction text = text[text.index(']'):].replace("}","").replace("]","") if text.find(']') != -1 else text