Omkar008 commited on
Commit
09cc3e4
1 Parent(s): 9ae0165

Update get_gmail_data.py

Browse files
Files changed (1) hide show
  1. get_gmail_data.py +1 -0
get_gmail_data.py CHANGED
@@ -189,6 +189,7 @@ class GmailDataExtractor:
189
  data = attachment_data.get("data", "")
190
  filename = part.get("filename", "untitled.txt")
191
 
 
192
  if data:
193
  # Save only the first 10 characters of the attachment data
194
  return subject,text ,{"filename":filename , "data":data} , company_from_gmail , message_id
 
189
  data = attachment_data.get("data", "")
190
  filename = part.get("filename", "untitled.txt")
191
 
192
+
193
  if data:
194
  # Save only the first 10 characters of the attachment data
195
  return subject,text ,{"filename":filename , "data":data} , company_from_gmail , message_id