Merge branch 'develop'

This commit is contained in:
Saurabh 2017-04-29 16:20:09 +05:30
commit a6da791765
3 changed files with 5 additions and 3 deletions

View file

@ -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()

View file

@ -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)

View file

@ -100,7 +100,7 @@ class EmailServer:
frappe.db.commit()
if not self.connect():
return []
return
uid_list = []