Переглянути джерело

Trying to style todo list

allens 1 тиждень тому
батько
коміт
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.')