wnm168 commited on
Commit
c142365
·
verified ·
1 Parent(s): cce0ad7

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -249,7 +249,7 @@ async def handle_copy_text(update: Update, context: CallbackContext):
249
  await query.answer()
250
 
251
  # 获取操作类型和文件 ID
252
- action, text = (query.data.split(":")[0], query.data.split(":")[1])
253
  await query.edit_message_text(f"{text}")
254
 
255
 
 
249
  await query.answer()
250
 
251
  # 获取操作类型和文件 ID
252
+ action, text = (query.data.split(":")[0], query.data.split(":", 1)[1])
253
  await query.edit_message_text(f"{text}")
254
 
255