TypeError: string indices must be integers Json Data

前端 未结 0 566

I get the error "TypeError: string indices must be integers" in the following code:

    if body[\'category\'] == \'Character\':
        return sanic.res         


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