def query (key ):
results = searcher.find ("content", key )
tmp=[]
for i in results:
tmp.append (i )
print (tmp )
print (type (tmp ))
#print (results )
return "".join (tmp )
请问这个代码为什么在控制台输出很正常 而在 flask 框架中输出不出来呢?