Skip to content

Commit

Permalink
Update SharedTools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rzc0d3r authored Jan 21, 2025
1 parent a82299b commit 434dd1d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/SharedTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def parseToken(email_obj, driver=None, eset_business=False, delay=DEFAULT_DELAY,
activated_href = email_obj.get_message(message['id'])['body']
elif message['from'].find('product.eset.com') != -1:
activated_href = email_obj.get_message(message['id'])['body']
elif email_obj.class_name in ['developermail', 'inboxes', '1secmailpro']:
elif email_obj.class_name in ['developermail', 'inboxes']:
messages = email_obj.get_messages()
if messages is not None:
for message in messages:
Expand Down Expand Up @@ -273,7 +273,6 @@ def parseEPHKey(email_obj, driver=None, delay=DEFAULT_DELAY, max_iter=DEFAULT_MA
break
elif email_obj.class_name in ['mailticking', 'fakemail', 'incognitomail']:
inbox = email_obj.parse_inbox()
print(inbox)
for mail in inbox:
mail_id, mail_from, mail_subject = mail
if mail_subject.find('Thank you for purchasing') != -1:
Expand Down Expand Up @@ -376,4 +375,4 @@ def install(self):
return False
else:
console_log('Installation from source is not possible!!!!', ERROR)
return False
return False

0 comments on commit 434dd1d

Please sign in to comment.