python3 minor bugfix (#5988)
* Update receive.py * Update receive.py * Update receive.py
This commit is contained in:
parent
0285b8fb18
commit
aee86f7bc0
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ class EmailServer:
|
|||
flags = []
|
||||
for flag in imaplib.ParseFlags(flag_string) or []:
|
||||
pattern = re.compile("\w+")
|
||||
match = re.search(pattern, flag)
|
||||
match = re.search(pattern, frappe.as_unicode(flag))
|
||||
flags.append(match.group(0))
|
||||
|
||||
if "Seen" in flags:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue