Spaces:
Running
Running
Update get_gmail_data.py
Browse files- get_gmail_data.py +1 -1
get_gmail_data.py
CHANGED
@@ -156,7 +156,7 @@ class GmailDataExtractor:
|
|
156 |
#Extracting the domain name from the senders email
|
157 |
for fromdata in payload:
|
158 |
if fromdata['name'] == 'From':
|
159 |
-
company_from_gmail = extract_domain_from_email(fromdata['value'])
|
160 |
break
|
161 |
|
162 |
for part in parts:
|
|
|
156 |
#Extracting the domain name from the senders email
|
157 |
for fromdata in payload:
|
158 |
if fromdata['name'] == 'From':
|
159 |
+
company_from_gmail = self.extract_domain_from_email(fromdata['value'])
|
160 |
break
|
161 |
|
162 |
for part in parts:
|