mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
删除冗余代码
This commit is contained in:
parent
024a1d3f76
commit
12ce37feda
2 changed files with 0 additions and 9 deletions
|
|
@ -106,11 +106,3 @@ checkUserTodoLength = text(
|
||||||
# 查找用户待办
|
# 查找用户待办
|
||||||
selectUserTodo = text(
|
selectUserTodo = text(
|
||||||
"select content from user_todo_list where user_id = :member_openid")
|
"select content from user_todo_list where user_id = :member_openid")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
print('test:')
|
|
||||||
# insert_user_todo_list('111', '123')
|
|
||||||
# print(get_user_todo_list('111'))
|
|
||||||
# del_line_num = '1'
|
|
||||||
# delete_user_todo('111', int(del_line_num))
|
|
||||||
# print(get_user_todo_list('111'))
|
|
||||||
|
|
@ -24,7 +24,6 @@ async def show_todo_list(message: MessageEvent):
|
||||||
|
|
||||||
todo_list = ""
|
todo_list = ""
|
||||||
count = 0
|
count = 0
|
||||||
print(result)
|
|
||||||
for each_content in result:
|
for each_content in result:
|
||||||
count += 1
|
count += 1
|
||||||
todo_content = "\n" + str(count) + "." + str(each_content).lstrip("('").rstrip("',)") + "\n"
|
todo_content = "\n" + str(count) + "." + str(each_content).lstrip("('").rstrip("',)") + "\n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue