Browse Source

Merge branch 'master' into develop

version-14
mbauskar 8 years ago
parent
commit
dde4a1fbf6
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -0
      frappe/email/queue.py

+ 1
- 1
frappe/__init__.py View File

@@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
from .exceptions import * from .exceptions import *
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template


__version__ = '8.5.2'
__version__ = '8.5.3'
__title__ = "Frappe Framework" __title__ = "Frappe Framework"


local = Local() local = Local()


+ 1
- 0
frappe/email/queue.py View File

@@ -495,6 +495,7 @@ def prepare_message(email, recipient, recipients_list):
'fcontent': fcontent, 'fcontent': fcontent,
'parent': msg_obj 'parent': msg_obj
}) })
attachment.pop("fid", None)
add_attachment(**attachment) add_attachment(**attachment)


return msg_obj.as_string() return msg_obj.as_string()


Loading…
Cancel
Save