Update main.py
Browse files
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 |
|