Omkar008 commited on
Commit
67c7c93
1 Parent(s): 3105e68

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -137,7 +137,7 @@ async def test_google(code:str):
137
  print(parts)
138
 
139
  for part in parts:
140
- if part['mimeType'] == 'text/plain':
141
  body_data = part['body']['data']
142
  print("printing body data")
143
  print(body_data)
 
137
  print(parts)
138
 
139
  for part in parts:
140
+ if part['mimeType'] == 'text/plain' or part['mimeType'] == 'text/html':
141
  body_data = part['body']['data']
142
  print("printing body data")
143
  print(body_data)