Merge branch 'develop'
This commit is contained in:
commit
a6da791765
3 changed files with 5 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
|
|||
from .exceptions import *
|
||||
from .utils.jinja import get_jenv, get_template, render_template
|
||||
|
||||
__version__ = '8.0.27'
|
||||
__version__ = '8.0.28'
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
local = Local()
|
||||
|
|
|
|||
|
|
@ -251,8 +251,10 @@ class EmailAccount(Document):
|
|||
return
|
||||
|
||||
emails = email_server.get_messages()
|
||||
if not emails:
|
||||
return
|
||||
|
||||
incoming_mails = emails.get("latest_messages")
|
||||
incoming_mails = emails.get("latest_messages", [])
|
||||
uid_list = emails.get("uid_list", [])
|
||||
seen_status = emails.get("seen_status", [])
|
||||
uid_reindexed = emails.get("uid_reindexed", False)
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class EmailServer:
|
|||
frappe.db.commit()
|
||||
|
||||
if not self.connect():
|
||||
return []
|
||||
return
|
||||
|
||||
uid_list = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue