From 6a7134f66fa8b69c5a600a8f5e076adcd09c1188 Mon Sep 17 00:00:00 2001 From: kaylieee Date: Mon, 10 Jun 2024 09:56:01 -0700 Subject: [PATCH] update --- gui/conversation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/conversation.py b/gui/conversation.py index adb4649..718061b 100644 --- a/gui/conversation.py +++ b/gui/conversation.py @@ -98,7 +98,7 @@ def insertFromMimeData(self, mimeData: QMimeData): logger.warning(f"Unsupported file type: {file_path}") QMessageBox.warning(self, "Error", "Unsupported file type. Please only upload image files.") else: - logger.warning(f"Non-local file URLs are not supported: {url.toString()}") + super().insertFromMimeData(mimeData) elif mimeData.hasText(): text = mimeData.text() # Convert URL to local file path