Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylieee committed Jun 10, 2024
1 parent 30a3726 commit 6a7134f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a7134f

Please sign in to comment.