Omkar008 commited on
Commit
0ba812c
1 Parent(s): fcfca9a

Update get_gmail_data.py

Browse files
Files changed (1) hide show
  1. get_gmail_data.py +1 -1
get_gmail_data.py CHANGED
@@ -178,7 +178,7 @@ class GmailDataExtractor:
178
 
179
  if data:
180
  # Save only the first 10 characters of the attachment data
181
- return subject,body ,{"filename":filename , "data":data} , company_from_gmail
182
 
183
  return subject, body,None , company_from_gmail
184
 
 
178
 
179
  if data:
180
  # Save only the first 10 characters of the attachment data
181
+ return subject,text ,{"filename":filename , "data":data} , company_from_gmail
182
 
183
  return subject, body,None , company_from_gmail
184