Removed DOCX, I don't think it is going to work

This commit is contained in:
jeffser
2024-06-30 16:57:36 -06:00
parent 9967ea3249
commit 80fea3a3b5
4 changed files with 2 additions and 40 deletions

View File

@@ -245,8 +245,7 @@ def attach_file_response(self, file_dialog, result):
file_types = {
"plain_text": ["txt", "md", "html", "css", "js", "py", "java", "json", "xml"],
"image": ["png", "jpeg", "jpg", "webp", "gif"],
"pdf": ["pdf"],
"docx": ["docx"]
"pdf": ["pdf"]
}
try: file = file_dialog.open_finish(result)
except: return