Lepus start时报错

问答分类: Lepus问答支持Lepus start时报错
林木森 提问于 1月 以前

Lepus start时报以下这个错,请问应该如何解决?
[root@lepus lepus]# tail -f logs/lepus.log
Traceback (most recent call last):
File “lepus.py”, line 15, in <module>
import functions as func
File “./include/functions.py”, line 285, in <module>
mail_host = get_option(‘smtp_host’)
File “./include/functions.py”, line 251, in get_option
return result[0]
TypeError: ‘int’ object has no attribute ‘__getitem__’