SergeyO7 commited on
Commit
bc4f755
·
verified ·
1 Parent(s): 02e21fb

Update app13.py

Browse files
Files changed (1) hide show
  1. app13.py +2 -0
app13.py CHANGED
@@ -44,6 +44,8 @@ async def check_n_load_attach(session: aiohttp.ClientSession, task_id: str, api_
44
  extension = ".jpg"
45
  elif "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" in content_type:
46
  extension = ".xlsx"
 
 
47
  elif "audio/mpeg" in content_type:
48
  extension = ".mp3"
49
  elif "application/pdf" in content_type:
 
44
  extension = ".jpg"
45
  elif "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" in content_type:
46
  extension = ".xlsx"
47
+ elif "vnd.ms-excel" in content_type:
48
+ extension = ".xls"
49
  elif "audio/mpeg" in content_type:
50
  extension = ".mp3"
51
  elif "application/pdf" in content_type: