Skip to content

Commit f413273

Browse files
authored
Add files via upload
1 parent 71f7ea5 commit f413273

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlp/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ async def import_log(logfile: str) -> Dict[str, PostfixMessage]:
271271
# print(checking_mailto)
272272
# print(msg)
273273
# 27.05.2024 need tests added 'or' below to compare full email or only local part
274-
if '@' in checking_mailto:
275-
checking_mailto = checking_mailto.split('@')[0]
276-
if checking_mailto in msg:
274+
'''if '@' in checking_mailto:
275+
checking_mailto = checking_mailto.split('@')[0]'''
276+
if checking_mailto in msg or checking_mailto.split('@')[0] in msg:
277277
same_qid = qid
278278
counter += 1
279279
# don't add email duplicates

0 commit comments

Comments
 (0)