bot commited on
Commit
25671c8
·
1 Parent(s): 86f3c23
Files changed (1) hide show
  1. main.py +1 -5
main.py CHANGED
@@ -278,11 +278,7 @@ async def handle_file_confirmation(update: Update, context: CallbackContext):
278
  await query.answer()
279
 
280
  # 获取确认操作的类型和文件 ID
281
- action, file_id, parent_id = (
282
- query.data.split(":")[0],
283
- query.data.split(":")[1],
284
- query.data.split(":")[2],
285
- )
286
 
287
  if action == "yes_f_del_f":
288
  await THUNDERX_CLIENT.delete_forever([file_id])
 
278
  await query.answer()
279
 
280
  # 获取确认操作的类型和文件 ID
281
+ action, file_id = (query.data.split(":")[0], query.data.split(":")[1])
 
 
 
 
282
 
283
  if action == "yes_f_del_f":
284
  await THUNDERX_CLIENT.delete_forever([file_id])