Spaces:
Running
Running
Update get_gmail_data.py
Browse files- 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,
|
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 |
|