我在浏览器上尝试使用我的python脚本但是我一直收到这个错误。我忽略了什么吗?
<!-- The above is a description of an error in a Python program, formatted
for a Web browser because the 'cgitb' module was enabled. In case you
are not reading this in a Web browser, here is the original traceback:
追踪(最近一次呼叫最后一次):
File "./index.py", line 50, in <module>
cid = app.db.execute('select id from clients where status="active" order by id desc limit 1')[0][0]
IndexError: list index out of range