瀏覽代碼

Trying to style todo list

allens 6 天之前
父節點
當前提交
07e7778575
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      ownchatbot/web_panels.py

+ 0 - 1
ownchatbot/web_panels.py

@@ -616,7 +616,6 @@ def uncross(item_id):
 @requires_login
 def rem_todo_item(item_id):
     todolist_items = current_app.config['LIST']
-    item_item_id = name
     if 0 <= item_id < len(todolist_items):  # Make sure the item exists
         removed = todolist_items.pop([item_id])
         current_app.logger.info(f'Removed \"{removed}\" from the to-do list.')